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

How to update Fabric & Crashlytics?

I installed Fabric and crashlytics framework using fabric app and not cocoapods. I needed to update it to comply with this error and for the future. /Crashlytics.framework/Crashlytics(CrashlyticsPlaceholderStatic.o)' does not contain bitcode.…
Ted
  • 22,696
  • 11
  • 95
  • 109
2
votes
2 answers

ld: -no_pie and -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) cannot be used together error

When I try to execute my app from XCode 7 on my iPhone 4 I get the ld error: ld: -no_pie and -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) cannot be used together What is that -no_pie, and how to fix the problem, without of course disabling…
Fabrizio Bartolomucci
  • 4,948
  • 8
  • 43
  • 75
2
votes
2 answers

iOS 9 (Xcode 7) Facebook API/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKAccessToken.o)' does not contain bitcode

I am trying to build the my app containing Facebook SDK with Xcode 7 in iOS 9.0. I am getting this error. Thanks
PK86
  • 1,218
  • 2
  • 14
  • 25
2
votes
2 answers

dont run app with open-cv in xcode 7?

I install opencv how pods, and when i run app in my ios devise i have this issue. opencv2.framework/opencv2(cap_ios_photo_camera.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an…
Zept
  • 1,158
  • 1
  • 10
  • 14
2
votes
3 answers

UrbanAirship iOS SDK error in Xcode 7 when archiving: libUAirship-6.2.0.a (UAWalletAction.o)' does not contain bitcode

I have an iOS application in Swift with CocoaPods using the UrbanAirship iOS SDK via Pods as follows: pod 'UrbanAirship-iOS-SDK' We can verify the version installed in the Podfile.lock file: - UrbanAirship-iOS-SDK (6.2.0): -…
Eneko Alonso
  • 18,884
  • 9
  • 62
  • 84
2
votes
1 answer

What does the term "bitcode" mean?

Having updated to Apple's latest and greatest, Xcode 7.0 beta, I noticed the term "bitcode" used in a few warnings. What does the term "bitcode" mean?
Vatsal Manot
  • 17,695
  • 9
  • 44
  • 80
1
vote
0 answers

Execute module and get result of value

I try make tool for creating bitcode, execute and check result so i currently have that code but i get Access violation reading location 0x0000000000000000. in the runFunction what i need fix there for normal executing code? void Execute() { …
1
vote
0 answers

Xcode 14 forces me into Bitcode for Unity builds. Why?

Since I updated Xcode to version 14, it requires that all pods included in my Unity project have been built for Bitcode. This is especially strange since Xcode has deprecated Bitcode now. Can anyone explain why it requires something that it did not…
waldgeist
  • 547
  • 5
  • 16
1
vote
2 answers

Xcode - Bitcode error only when running on device

When running my app on simulator, it works perfectly, but when I try to run it on my device, I get the following…
1
vote
0 answers

AppStoreConnect ITMS-90562: Invalid Bundle

After uploading new app version to AppStoreConnect i receive error: Invalid Binary, alsa i receive email with more concrete error: "TMS-90562: Invalid Bundle - One or more dynamic libraries that are referenced by your app are not present in the…
Janek Podwysocki
  • 543
  • 1
  • 6
  • 18
1
vote
2 answers

All frameworks and dylibs for bitcode must be generated from Xcode Archive or Install build file

I'm having troubles when Archiving my React Native iOS app. When I run the app on simulator or my iPhone everything works fine. But when I try to archive my app to publish it on TestFlight the archive process finishes up with this error: ld: bitcode…
josher932
  • 490
  • 1
  • 7
  • 20
1
vote
1 answer

Get entry point of llvm::module

I've parsed a bitcode file with llvm::parseBitcodeFile and I've got the llvm::Module, I can iterate over the functions of the module: std::unique_ptr& M = *parsed; for(auto& func : M->functions()) { // how to identify the entry…
fjanisze
  • 1,234
  • 11
  • 21
1
vote
1 answer

Xcode won't generate bitcode section

im using xcode 13.2.1, MacOs Monterey version 12.2 (M1). Im trying to compile my app with bitcode using xcode. I have Bitcode-Enable = yes in both project and target. I checked the build log and I have no warning stating I am using a…
1
vote
0 answers

pod version 1.10.1 causes bitcode error for pod framework

Error log : '/Users/vivek/Library/Developer/Xcode/DerivedData/Demo-WORKSPACE-gndiytqkskvboveiwrfcbnyuvpgm/Build/Products/Debug-iphoneos/AFNetworking/AFNetworking.framework/AFNetworking' does not contain bitcode. You must rebuild it with bitcode…
Vivek Gajbe
  • 411
  • 2
  • 14
1
vote
1 answer

Lift x64 Windows executable to LLVM bitcode and then compile back to x32 one?

So my idea is to "lift" 64-bits Windows executable to LLVM bitcode (or whatever is higher than assembly) and then compile it back to 32-bit executable. I found that RetDec and McSema can lift PE binary to LLVM IR (and optionally C), but McSema…
raspiduino
  • 601
  • 7
  • 16