imagemagick_lib_iphone
imagemagick_lib_iphone copied to clipboard
BITCODE support
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
- Start a new XCode project.
- Ensure the "ENABLE BITCODE" is set to YES.
- Install ImageMagick through Cocoapod using:
pod "ImageMagick", "6.8.8-9"
- Pod install
- Build a simple app.
- 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.