Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Typedef 'UILayoutConstraintAxis' cannot be referenced with a enum specifier #371

Open
DineshKachhot opened this issue May 26, 2021 · 0 comments

Comments

@DineshKachhot
Copy link

Report

I am using this library in my App, I have multiple targets, getting following error while building one of my targets, others are fine.

Typedef 'UILayoutConstraintAxis' cannot be referenced with a enum specifier

Environment

Please provide information on your development environment, so we can build with the same scenario.

  • Xcode version (12.4 (12D4e)): ℹ
  • PopupDialog version (1.1): ℹ
  • Minimum deployment target (10.0): ℹ
  • Language (Objective-C): ℹ

Dependency management

If you are not using any dependency managers, you can remove this section.

  • Dependency manager (CocoaPods): ℹ
  • Version (1.10.1): ℹ

What did you do?

While I am building one of my target I am getting following error if enum UILayoutConstraintAxis in library,

/Users/**/Library/Developer/Xcode/DerivedData/****/Build/Products/Debug-iphonesimulator/PopupDialog/PopupDialog.framework/Headers/PopupDialog-Swift.h:266:160: Typedef 'UILayoutConstraintAxis' cannot be referenced with a enum specifier

What did you expect to happen?

As I am using two target, one is building fine while other is giving this error, expect to build successful as other target.

What happened instead?

Instead I am getting error of enum UILayoutConstraintAxis

/Users/**/Library/Developer/Xcode/DerivedData/****/Build/Products/Debug-iphonesimulator/PopupDialog/PopupDialog.framework/Headers/PopupDialog-Swift.h:266:160: Typedef 'UILayoutConstraintAxis' cannot be referenced with a enum specifier

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant