imagemagick_lib_iphone icon indicating copy to clipboard operation
imagemagick_lib_iphone copied to clipboard

BITCODE support

Open hollowaykeanho opened this issue 8 years ago • 0 comments

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.

hollowaykeanho avatar Jun 21 '16 04:06 hollowaykeanho