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

Swift header file not created correctly when building with Xcode 10.2 #58

Closed
Alexs1987 opened this issue Apr 2, 2019 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@Alexs1987
Copy link

Swift 5 seems to have changed the format of the generated Swift header file by adding the following conditionals dependent on the architecture:

#if 0
#elif defined(__arm64__) && __arm64__
...
#elif defined(__ARM_ARCH_7A__) && __ARM_ARCH_7A__
...

When building the iOS platform with cocoapods-binary the generated Swift header file only has __arm64__ and __ARM_ARCH_7A__ but does not have any conditionals for the simulator architectures and therefore the Swift parts of the framework can't be used by Objective C code in the app.

Similar issue in Carthage - Carthage/Carthage#2718

leavez added a commit that referenced this issue Apr 17, 2019
@leavez
Copy link
Owner

leavez commented Apr 17, 2019

fixed

@leavez leavez closed this as completed Apr 17, 2019
leavez added a commit that referenced this issue Apr 17, 2019
@leavez leavez added the bug Something isn't working label Apr 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants