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
1
vote
0 answers

Unable to archive app due to "IPA processing failed", using a .xcframework dependency

Unable to archive my app using .xcframework. getting "IPA processing failed" error if I select "Rebuild from bitcode" export option while archiving. Please help me here. Thanks in advance.
Ganesh patro
  • 93
  • 1
  • 5
1
vote
1 answer

Bitcode not being included in my Framework

I'm trying to build a Framework with bitcode included. To do so I've used this post (the section about universal libraries). After that I've tried to check that the bitcode is actually included in the result following this answer but it seems more…
Jaime Alcántara Arnela
  • 2,062
  • 5
  • 25
  • 56
1
vote
0 answers

Is Bitcode required for iPadOS apps?

Apple documentation does not mention whether or not bitcode is required for iPadOS apps: For iOS apps, bitcode is the default, but optional. For watchOS and tvOS apps, bitcode is required. If you provide bitcode, all apps and frameworks in the app…
shallowThought
  • 19,212
  • 9
  • 65
  • 112
1
vote
0 answers

How to run LLVM bitcode generated from Haskell source code

I'm trying to run LLVM bitcode generated from Haskell source code instead of compiling the code to a native binary on macOS. I have following file: $ cat hello_world.hs main = putStrLn "Hello world!" And I'm using following steps to create the…
adius
  • 13,685
  • 7
  • 45
  • 46
1
vote
0 answers

dSYM files not available on iTunes/App Store Connect (bitcode enabled)

Our application has bitcode enabled, so we can't use dSYM files generated on our machines/CI but rather we should use dSYM generated during bitcode compilation. The problem here is that we don't have those files available to download on App Store…
Michal Cichon
  • 1,409
  • 14
  • 19
1
vote
0 answers

Objects-normal file does not contain bitcode - only for simulator

When I try to build the project on simulator, I get this error : ld: …
Nitish
  • 13,845
  • 28
  • 135
  • 263
1
vote
1 answer

Error While Exporting With Bitcode Enable Using Custom Framework

Error While Exporting. All i386 architectures have been already removed.
1
vote
2 answers

Extracting LLVM::Module from LLVM::ModuleRef

I'm trying to build a simple bitcode reader (rather than a dedicated pass, in order to be able to debug more easily) and I have some problems extracting the module. Here's what I have inside main: LLVMModuleRef module; char *message =…
OrenIshShalom
  • 5,974
  • 9
  • 37
  • 87
1
vote
0 answers

Best way to implement Bitcode?

I have some questions regarding Bitcode since there aren't many documentations about it. From what I understand (correct me if I’m wrong), the main benefits of Bitcode are: Reduce the size of the app (not the ipa), since it is a part of…
derrinjh
  • 19
  • 2
1
vote
1 answer

Cocoa Touch Frameworks - Bitcode support

I'm building a framework for my company. I have a workspace with two projects inside, the Cocoa Touch Framework and the Example app. I've a Run Script, that runs every time I build my framework, that builds simulator and device version and then lipo…
Andrea Mario Lufino
  • 7,921
  • 12
  • 47
  • 78
1
vote
1 answer

App thinning issue on Xcode 9.2

Am trying to do app thinning in Xcode 9.2 where I have third party frameworks where some are installed through pods while others manually , am trying to test this so had an ad-hoc distribution profile , now I try exporting through this profile ,…
1
vote
1 answer

Reinstalled pods and get invalid bitcode signature error. why?

I installed the pods again on my xcode project and i get this : error: Invalid bitcode signature clang: error: linker command failed with exit code 1 (use -v to see invocation) Also, i tried to clean and build, but nothing happens.
Alex Andreadis
  • 347
  • 1
  • 4
  • 17
1
vote
0 answers

Can't use FBSDKShareVideo without ENABLE_BITCODE Linker command error

I have the latest Bolts, FBSDKCoreKit, FBSDKLoginKit and FBSDKShareKit as part of the Facebook SDK frameworks which I am using in Swift. In a Swift file, I imported FBSDKCoreKit and FBSDKShareKit. If I use FBSDKShareVideo in any way, I get a Linker…
Chewie The Chorkie
  • 4,896
  • 9
  • 46
  • 90
1
vote
2 answers

iOS bitcode - security concerns

We are distributing a software module for iOS online. Since, Apple is advocating bitcode and even making it mandatory for apps on some devices (watchOS/tvOS) - forcing us to deliver this software module (static library) with bitcode. The concern is…
mesibo
  • 3,970
  • 6
  • 25
  • 43
1
vote
1 answer

Enable bitcode in tvOS framework in Xcode 9.1

I'm developing a framework for tvOS in Xcode 9.1. This framework includes a static library (which I compiled and is bitcode enabled). The problem is that the framework isn't bitcode enabled. I'm using otool to check whether it is bitcode enable or…
kande
  • 559
  • 1
  • 10
  • 28