-
Notifications
You must be signed in to change notification settings - Fork 229
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
'YGEnums.h' file not found - When adding FlexLayout as dependency of another Swift Package. #219
Comments
Sorry, I haven't try that before. If you find a solution, please tell us, we will add it to the documentation. |
I don't think there is a solution - the documentation may need updating to reflect that 😞 |
Same |
I take it back, looks like there is a fix! I was able to get SPM to build FlexLayout as a dependency by adding the built in preprocessor definition |
Fix in the release https://github.com/layoutBox/FlexLayout/releases/tag/1.3.30 |
You have to add the flag in the target settings, see here: #226 (comment) |
it is not SwiftPackage it is Pod |
I'm following installation steps to add FlexLayout to "Another Swift Package" not to an Xcode Project.
I have defined the dependency in my Package.swift as:
and linked it to my target
The package resolves fine but errors when building with
As far as I can see there is no way of adding
GCC_PREPROCESSOR_DEFINITIONS
inPackage.swift
The text was updated successfully, but these errors were encountered: