MobileVLCKit for iOS - building issue with Bitcode option
Posted: 22 Feb 2017 10:59
I’ve added MobileVLCKit framework to my test project via CocoaPods Podfile.
My Project and Target options:
Build Settings/Build Options/Enable Bitcode/Yes
Xcode build with Bitcode=Yes succeeds when built for for iOS Simulators (iPad Air 2).
But Xcode build with Bitcode=Yes option fails when built for for Device (iPad):
Build error:
ld: '/Users/sk/Documents/TestApp/TestVideo3/Pods/MobileVLCKit/MobileVLCKit-binary/MobileVLCKit.framework/MobileVLCKit(libvout_ios2_plugin_la-ios2.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)
It is needed to set Bitcode=No option to build a project for device.
I’ve tried to download MobileVLCKit and build it, but without success.
Issue is described here: https://forum.videolan.org/viewtopic.php?f=36&t=134122
Bitcode=Yes is the default option for Xcode projects.
Is it possible to have MobileVLCKit updated on CocoaPods to allow usage of Bitcode option in iOS projects?
My Project and Target options:
Build Settings/Build Options/Enable Bitcode/Yes
Xcode build with Bitcode=Yes succeeds when built for for iOS Simulators (iPad Air 2).
But Xcode build with Bitcode=Yes option fails when built for for Device (iPad):
Build error:
ld: '/Users/sk/Documents/TestApp/TestVideo3/Pods/MobileVLCKit/MobileVLCKit-binary/MobileVLCKit.framework/MobileVLCKit(libvout_ios2_plugin_la-ios2.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)
It is needed to set Bitcode=No option to build a project for device.
I’ve tried to download MobileVLCKit and build it, but without success.
Issue is described here: https://forum.videolan.org/viewtopic.php?f=36&t=134122
Bitcode=Yes is the default option for Xcode projects.
Is it possible to have MobileVLCKit updated on CocoaPods to allow usage of Bitcode option in iOS projects?