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
1 answer

Creating iOS universal framework with Xcode 9

I am creating universal framework for iOS. I am trying to create one through lipo and it does create a universal one I check the architecture with lipo after creation it returns me correct: Architectures in the fat file: i386 x86_64 armv7 arm64 I…
hariszaman
  • 8,202
  • 2
  • 40
  • 59
1
vote
0 answers

Adding .a static library built on Xcode8.1 to a project, still getting Invalid bitcode version error?

I am creating a .a static library with bitcode enabled on lower version of Xcode (Xcode 8.1) and adding to a project to verify it. Still getting Invalid bitcode version (Producer: '802.0.42.0_0' Reader: '800.0.42.1_0') Earlier I had Xcode 8.3.3…
Anuved Nayak
  • 39
  • 1
  • 7
1
vote
1 answer

Enable bitcode in Xamarin iOS

I've developed a cross platform for iOS and android using Xamarin Forms. My app uses several screens and some tjird party dependencies such as Facebook, google maps and firebase. Everything works good until I went to compile it in release mode.…
OzB
  • 2,140
  • 1
  • 22
  • 38
1
vote
1 answer

Will Apple re-run macros when using bitcode?

With bitcode, Apple say they can re-build my application on demand, whenever they think it is necessary. If my source code contains preprocessor macros, when will those run? When I build and archive my IPA locally? Or also when Apple re-builds the…
Nathan H
  • 48,033
  • 60
  • 165
  • 247
1
vote
1 answer

Merging iOS .dylib into framework with lipo breaks bitcode recompilation

I'm trying to build a dynamic iOS framework manually from .dylib files. Binaries are created with cmake and xcodebuild and produce two .dylib files, one containing armv7, armv7s and arm64 and the other x86_64 and i386 architectures. Libraries are…
Legoless
  • 10,942
  • 7
  • 48
  • 68
1
vote
0 answers

After enabling Bitcode from project settings and uploading app to TestFlight, estimated App Store file size doubled. Is this normal?

I'm trying to reduce the size of my app, so first thing I wanted to try was enabling bitcode. I know the generated ipa size grows after enabling bitcode but I thought that the estimated App Store size would be significantly reduced. Apperantly it's…
batu
  • 645
  • 3
  • 10
1
vote
0 answers

How to disable Bitcode on my PhoneGap IOS App. I got an error in my phonegaps app thinning process from ItunesConnect using Application builder

After I uploaded my build to iTunes Connect by using Application Loader, I got an email about an issue. While processing your iOS app, XXXX XXXXXXX-App-Name , errors occurred in the app thinning process, and your app couldn’t be thinned. If your app…
Okechukwu Eze
  • 155
  • 1
  • 14
1
vote
0 answers

Bitcode errors on Release build configuration but not Archive

I have quite a complicated project structure consisting of many frameworks and dependencies. I have a framework target which contains all the classes I include in my WatchKit extensions. This requires the framework be built with Bitcode support…
Ricky
  • 3,101
  • 1
  • 25
  • 33
1
vote
1 answer

Does Enabling the Bit Code will decrease the original size of Unity IOS build

I have been going through different posts regarding Bit Code option introduced in XCode. As i am creating a project in unity trying to reduce the over the air build size. According to most of the bit code post related to unity they ending up…
1
vote
1 answer

Bundled framework issues with Bitcode compilation

I have a watchOS app which includes a framework. Suddenly with Xcode 7.3, I have been having issues with Release builds. I had to follow the manual instructions found here to solve my Release build issues. My app compiles on all build configurations…
Ricky
  • 3,101
  • 1
  • 25
  • 33
1
vote
1 answer

Xcode 7 ENABLE_BITCODE error is already YES, but still get's error

I've been searching and searching, and tried a lot of diffrent solutions from in here, but nothing helped so far. I'm using Unity(newest version), and when i build my project in Xcode, i get this: I've tried to set Bitcode to NO, both on Project…
Patrick R
  • 1,949
  • 3
  • 32
  • 58
1
vote
2 answers

How to add bitcode to Xcode framework/project?

I want to enable bitcode in my project as well a framework. I know how to enable it but question is how to add it so that my Project do contain bitcode. I am having issue with archiving where the project is bitcode enabled so as the framework it is…
djay
  • 375
  • 2
  • 18
1
vote
1 answer

iTunes Connect - Invalid Bundle -> Bitcode Issue

I have a problem with my build becoming invalid in iTunes Connect. I have a workspace consisting of app project, library project and cocoa pods project in it. My cocoa pods has only KeychainSwift and GoogleMaps in it. From iTunes Connect I get the…
georgij
  • 2,054
  • 4
  • 27
  • 43
1
vote
3 answers

cannot parse the debug map for

i just open an app which belongs long before to add some view controllers but when i tried to debug ... i am getting errors like below... i checked so many answers but no result..please help on this issue.... ld: library not found for -lOAuth…
pradeep
  • 11
  • 1
  • 3
1
vote
0 answers

How to archive a Swift Project with a custom framework

I created a custom framework and imported it into my swift project. I have been able to run the project on my phone no problems what so ever, I have now come to build it to share on "testfairy", so 'archive' it. When I do this I get the following…
Display Name
  • 1,025
  • 2
  • 15
  • 34