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

BITCODE support #16

Open
hollowaykeanho opened this issue Jun 21, 2016 · 0 comments
Open

BITCODE support #16

hollowaykeanho opened this issue Jun 21, 2016 · 0 comments

Comments

@hollowaykeanho
Copy link

Existing Cocoapod installation indicates the library files are not compiled with BITCODE enabled. Temporarily, the workaround is to disable "ENABLE BITCODE" explicitly.

Build Report:

ld: '/Users/hollowaykeanho/Documents/code_development/hollowaykeanho/project/Pods/ImageMagick/libMagickCore.a(magick_libMagickCore_6_Q8_la-exception.o)' does not contain bitcode.
You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Step to Reproduce

  1. Start a new XCode project.
  2. Ensure the "ENABLE BITCODE" is set to YES.
  3. Install ImageMagick through Cocoapod using:
pod "ImageMagick", "6.8.8-9"
  1. Pod install
  2. Build a simple app.
  3. Compile to an iPhone 5S physical target.

Severity

Right now bitcode is not enforced for iOS app upload but is mandatory for WatchOS and other devices. No guarantee on enforcement.

Workaround

Disable BITCODE.

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