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

Fix iOS linker error #90

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

tconkling
Copy link

The ANE currently fails to link on iOS:

[java] ld: framework not found FileProvider for architecture armv7
[java] ld: framework not found FileProvider for architecture arm64
[java] Compilation failed while executing : ld64

This pull request adds the CLANG_MODULES_AUTOLINK = NO linker flag to the iOS library, which fixes the problem. (It also updates the Podfile and xcodeproj by running them thru the latest Cocoapods and Xcode.)

`pod install` run against latest cocoapods (1.3.1)
.xcodeproj opened with latest Xcode (9.1)
(Cocoapods was complaining about this)
Set 'CLANG_MODULES_AUTOLINK = NO'

This is necessary for the ANE to link properly in iOS projects:

    [java] ld: framework not found FileProvider for architecture armv7
     [java] ld: framework not found FileProvider for architecture arm64
     [java] Compilation failed while executing : ld64
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

Successfully merging this pull request may close these issues.

1 participant