Questions tagged [bitcode]

An intermediate representation of an LLVM-compiled program, which can be used by Apple to optimize binaries submitted to their App Store(s) without requiring involvement from the original developer.

Coming to general attention during WWDC 2015, Bitcode is according to Apple's docs:

an intermediate representation of a compiled program. Apps you upload to iTunes Connect that contain bitcode will be compiled and linked on the App Store. Including bitcode will allow Apple to re-optimize your app binary in the future without the need to submit a new version of your app to the store.

Likely a direct usage of LLVM's Bitcode file format, or perhaps the name is being repurposed to market a higher-level system involving the same.

321 questions
5
votes
2 answers

xcodebuild linker assertion failure

I run into this ld assertion error while building an iOS dynamic framework in command line using xcodebuild. 0 0x10163b342 __assert_rtn + 144 1 0x101678a3a archive::File::makeObjectFileForMember(archive::File::Entry const*)…
dennycd
  • 415
  • 1
  • 7
  • 11
5
votes
0 answers

Is it possible to enable BitCode for an iOS app that uses Qt?

I have an iOS app that was made using Qt 5.6 and distributed via Xcode 7.2 on the AppStore. When I try to enable BitCode I get the following error during the link phase : ld: -u and -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) cannot be used…
5
votes
2 answers

GoogleSignIn iOS framework no Bitcode support

I would really like to include Bitcode support for my iOS project but I am using the Google Sign In framework and it looks like they STILL haven't added Bitcode support to the library. I cannot seem to find any information about whether this is…
jakedunc
  • 984
  • 9
  • 20
5
votes
0 answers

Unity Xcode build linker error

We are trying to build a Unity game in Xcode but keep getting this error: ld: '/Users/Pero/Documents/GitHub/MyGame/XCodeProject/Pods/GooglePlayGames/gpg-cpp-sdk/ios/gpg.framework/gpg(libgpg.a-armv7-master.o)' does not contain bitcode. You must…
Mentoliptus
  • 2,855
  • 3
  • 27
  • 35
5
votes
2 answers

How to fix Facebook SDK "does not contain bitcode" error?

I got below error after updating my Xcode to the latest version: ld: '/Users/mimicreative/Documents/Kerja/Backup/FacebookSDK/FBSDKMessengerShareKit.framework/FBSDKMessengerShareKit(FBSDKMessengerApplicationStateManager.o)' does not contain bitcode.…
Ega Setya Putra
  • 1,645
  • 6
  • 23
  • 51
4
votes
3 answers

does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE)

I am facing this error while installing in device but build is running perfectly in simulator. As suggest in error i have disabled bitcode in this library but still getting this error while trying to run in device. Xcode version:- 14.1 Showing All…
Rishi jha
  • 51
  • 2
  • 6
4
votes
0 answers

Swift package has bitcode disabled

I created a really simple Swift package, that contain only a few Objective-C source files, but when I try to build another project that it, it fail compiling because: ld: bitcode bundle could not be generated because 'MySwiftPackage.o' was built…
Leguman
  • 2,104
  • 1
  • 18
  • 22
4
votes
1 answer

How can I prove that my Xamarin.iOS Watch app has bitcode enabled?

I received a call from an Apple representative telling me that my app that has a WatchOS extension isn't compiled with Bitcode support and that if I try to submit further updates then they will be rejected. This is a Xamarin.iOS application. I am…
jahmai
  • 65
  • 7
4
votes
1 answer

Can bitcode still be disable on Xcode 9.2?

Can once still be able to disable bitcode on Xcode 9.2? I looked into Build Settings tab under project. But there was not one.
EmilyJ
  • 872
  • 2
  • 8
  • 19
4
votes
0 answers

iOS Build Refused by Apple related to bitcode

Here is the email form Apple: Dear developer, We have discovered one or more issues with your recent delivery for "[MyApp]". To process your delivery, the following issues must be corrected: Invalid Bundle - The app cannot be processed because of a…
sachadso
  • 848
  • 9
  • 10
4
votes
1 answer

"libParseLib.a does not contain bitcode" error

I never had any problems when using CocoaPods up to this point (I used it a few times to integrate Parse into my iOS app). But this time I am puzzled by the message below. When I previously used CocoaPods the project was containing only one target,…
Michel
  • 10,303
  • 17
  • 82
  • 179
4
votes
1 answer

Bitcode error in Xcode 8, but only for Simulator

I just updated to Xcode 8, and I'm getting a new error whenever I try to use the Simulator. (Any device type in the simulator.) It reads like this... '[...]/AppDelegate.o' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode…
Nerrolken
  • 1,975
  • 3
  • 24
  • 53
4
votes
1 answer

App Processing Error: Unexpected CFBundleExecutable Key

I am trying to submit to Apple with bitCode enabled. Everytime i submit I am getting this email. We have discovered one or more issues with your recent delivery for "MyAPPP". To process your delivery, the following issues must be…
NaXir
  • 2,373
  • 2
  • 24
  • 31
4
votes
1 answer

Presenting: Error Domain=IDEFoundationErrorDomain Code=1 "failed to compile bitcode for myApp:

I have Meet a Problem When I Update Xcode From 7.2.0 to 7.3.0 ,I use Archive to Generate ipa For my App ,In the last step ,I select Rebuild from bitcode ,Then show Preparing Archive interface ,but I get a error "failed to compile bitcode for…
andrew
  • 41
  • 3
4
votes
1 answer

Is bitcode required in order to allow users to download only the executable architecture needed for the target device?

My app size is huge, almost 100MB for an ordinary Mahjong game made with Unity3D. I'd like to provide smaller downloads for my audience. Most of the problem comes from the executable code embedded in the fat binary (armv7 and arm64 architectures). I…
Eduardo Coelho
  • 1,953
  • 8
  • 34
  • 60