Orderella / PopupDialog

A simple, customizable popup dialog for iOS written in Swift. Replaces UIAlertController alert style.
http://www.mwfire.de
Other
3.96k stars 522 forks source link

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

Open DineshKachhot opened 3 years ago

DineshKachhot commented 3 years ago

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.

Dependency management

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

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