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
9
votes
2 answers

How to enable Bitcode for WebRTC iOS framework?

How can I compile WebRTC iOS framework with Bitcode enabled. Currently I have to disable the Bitcode of my project due to WebRTC framework.
abhimanyu jindal
  • 658
  • 8
  • 18
9
votes
1 answer

Bitcode error packaging ipa using xcodebuild

First off, I want to state that without bitcode , everything is working perfectly. The problems start when I turn on the "bitcode" flag in the app. Also, all of the builds are through a CI flow (not manually inside xcode->archive et.al). The…
Avba
  • 14,822
  • 20
  • 92
  • 192
9
votes
5 answers

Will Apple reject app if app submit with Enable_Bitcode = No

My app has a lot of third party libraries and social plugging that are not available in bitcode yet. So I can't compile my app with the allow Enable_Bitcode = YES. So I changed it to NO, will Apple approve my app for iOS 7.x-9.x?
Vicky
  • 602
  • 5
  • 16
9
votes
1 answer

Enabling Bitcode for iOS 9 increases IPA size 3x, is this the size on the app store?

Before iOS 9, our IPA size was roughly 6MB. After Archiving and exporting our IPA through Xcode 7, our IPA increased to about 17MB. Upon further investigation, we found out that enabling the "Bitcode" option in the export settings is what caused…
0xMatthewGroves
  • 3,181
  • 3
  • 26
  • 43
9
votes
3 answers

I would like to know how to get option ENABLE Bitcode in XCODE 7 beta 4?

I want to deploy iOS application for iOS version 5.1.1 and above with xcode 7. But when I tried to run my iOS application project in Xcode 7 beta 4 then it shows error message “-fembed-bitcode is not supported on versions of iOS prior to 6.0” And…
JKMania
  • 239
  • 1
  • 6
  • 17
8
votes
5 answers

App Store Connect Rejects Binary w/ ITMS-90562 Invalid Bundle - Unable to Compile Bitcode

On builds submitted with Xcode 11b2, after successfully uploading a build I'm getting an email a few minutes later with the following message: ITMS-90562: Invalid Bundle - The app submission can not be successfully recompiled from bitcode due to…
Hunter
  • 4,343
  • 5
  • 42
  • 44
8
votes
2 answers

Bitcode is disabled in Facebook-iOS-SDK 4.37

I have updated Facebook SDK 4.37, after updating the SDK I started seeing one compile time error to disable bitcode. I can't disable bitcode because I have watch kit app which really need to have bitcode enable. If anyone faced this issue and…
Narendar Singh Saini
  • 3,555
  • 1
  • 17
  • 17
8
votes
1 answer

What does bitcode_strip (xcrun) do?

Having added TwilioVideo as a Pods dependency in my iOS project, I realized that its size significantly increased (+100 Mo). After some researches, I found this thread and especially this message that advises stripping bitcode using this command via…
Rob
  • 4,123
  • 3
  • 33
  • 53
8
votes
3 answers

Changing symbol names and embedding bitcode

tl;dr: I get this error message: ld: -alias_list and -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) cannot be used together How do I fix it? I am trying to create my own version of a third-party library. I want to make sure that none of my…
8
votes
1 answer

FacebookCore fails to link because of FBSDKCoreKit bitcode errors

I'm trying to use Facebook SDK in Swift. It will compile and run in the Simulator and locally on my device. However, trying to Archive or build in the release configuration fails. ld: bitcode bundle could not be generated because…
Richard Stelling
  • 25,607
  • 27
  • 108
  • 188
8
votes
2 answers

Error while exporting with Bitcode enabled (symbol not found for architecture armv7)

I have a fairly old project with a minimum deployment target set to iOS 8.4. For technical reasons bitcode must be enabled. The project builds and runs fine. When trying to export an archived build however, things go wrong. I am using Xcode…
Kymer
  • 1,184
  • 8
  • 20
8
votes
3 answers

OpenSSL CocoaPod iOS with Bitcode?

Is there an OpenSSL cocoapod that works with bitcode enabled? Previously I was using the pod 'OpenSSL', but I want to have bitcode in my app. Is there any way to do this, or must I build OpenSSL by myself? Thanks
hockeybro
  • 981
  • 1
  • 13
  • 41
8
votes
3 answers

How can I stop Xamarin from building my app with bitcode enabled?

In the configurations from my iOS build, there is no option to disable bitcode. While in Xcode it is possible to set ENABLE_BITCODE=NO I need this because my linked frameworks are not build with bitcode, and nowadays Apple does not allow…
Jelle
  • 365
  • 3
  • 11
8
votes
1 answer

How can I disable XCode BITCODE within a CMake project?

I am building a medium size project that uses CMake for project generation. On the XCode 7+ the ENABLE_BITCODE option is set to "Yes" by default. I would like to set that to "No" by default in my generated XCode projects. I have tried adding…
Joe Steele
  • 563
  • 5
  • 13