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

How can i resolve bitcode error while archiving build .IPA file?

When I build an .IPA file for testing, I get the following error...how to resolve this. 2016-06-23 06:51:30 +0000 [MT] Presenting: Error Domain=IDEFoundationErrorDomain Code=1 "Failed to verify bitcode in…
Mayank Modi
  • 73
  • 2
  • 9
2
votes
2 answers

Bitcode and dylib

I am trying to compile a C library to use it in my iOS project, and I want to embed bitcode. I can successfully build static libraries targeting each arch. And those static library do contain bitcode (checked using otool), but the dynamic library…
Automatic
  • 70
  • 1
  • 9
2
votes
1 answer

AFNetworkActivity bitcode

I am using AFNetworking in the project which is using cocoapods to import And the project required me to turn on the "BitCode" So I switch the AFNetworking to 3.0 version And AFNetworkActivityLogger also require to use 3.0.0 version Therefore I add…
jackLeung
  • 41
  • 8
2
votes
0 answers

Need assistance with RESTKit - BitCode and Duplicate Symbols in iOS

Edited: Removed initial extraneous information that was unrelated. I have 'inherited' an Objective C project that includes two separate libraries. There are a set of dependencies that is causing errors of symbol duplication, with samples shown…
AlphaStax
  • 21
  • 4
2
votes
0 answers

No bitcode included in skobbler SDK

I installed the latest ScoutMaps-iOS-SDK pod and tried to archive to estimate the resulting application's size. Yet, clang was not quite happy: ld: bitcode bundle could not be generated because…
Tobi Nary
  • 4,566
  • 4
  • 30
  • 50
2
votes
4 answers

Method to determine whether a binary contains Bitcode no longer seems to work

In my search for a method to determine if a iOS binary was build with Bitcode, I found the following post: How to check if a framework is BITCODE supported for Xcode7 Here, the following method was suggested to determine if bitcode is present in a…
Locksleyu
  • 5,192
  • 8
  • 52
  • 77
2
votes
0 answers

When enable bitcode got the error:clang: error: argument unused during compilation: '-fembed-bitcode-marker'

I have a framework need to be released with bitcode enabled. I have set "Enable Bitcode" to "YES" in project "Build Settings". And in the Makefile I have the command line like this: xcodebuild OTHER_CFLAGS="-fembed-bitcode" -target MyFramework…
pyanfield
  • 479
  • 6
  • 19
2
votes
2 answers

Enable bitcode Xcode 7.1

I'm having this error in XCode 7.1 when building the application for iOS9: (...) MyoKit(TLMHub.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or…
Mark
  • 113
  • 7
2
votes
2 answers

libcocos2d tvOS.a(bio_lib.o)' does not contain bitcode

When compiling cocos2d-js for AppleTV project I receive this error: ld: '/Users/pepa/Library/Developer/Xcode/DerivedData/GameXY-gwkkxwmtiilmalhdxfdjgqdfhedy/Build/Products/Debug-appletvos/libcocos2d tvOS.a(bio_lib.o)' does not contain bitcode.…
PerfectGamesOnline.com
  • 1,774
  • 1
  • 18
  • 31
2
votes
2 answers

GoogleMaps target doesn't get created in Pods project

System information: Xcode 7.0.1 w/ iOS 9 The issue i am having is: After adding the GoogleMaps pod (1.10.3) to my podfile, the application builds in Xcode for the iOS Simulator, but not for a device. The error that occurring is as follows: ld:…
2
votes
1 answer

`-fembed-bitcode` Error when trying to archive app

I am trying to submit a new version of one of my client's apps to itunes connect, but I am getting this weird error -fembed-bitcode is not supported on versions of iOS prior to 6.0 This is the first time I am submitting a new version of this app…
MrDevRI
  • 233
  • 2
  • 11
2
votes
1 answer

Xcode / mod_pbxproj: How to set ENABLE_BITCODE

I am trying to modify a Unity3D generated Xcode project with mod_pbxproj.py called from a python script which is triggered by a PostProcessBuild attribute. I need to set ENABLE_BITCODE = NO due to the problem described in New warnings in iOS 9. I am…
Kay
  • 12,918
  • 4
  • 55
  • 77
2
votes
1 answer

What are the effects of disabling BitCode in Xcode project settings?

Bid code is by default enabled on XCode project settings. I am dependent on few third party libraries where I get compilation error as the SDK is does not support BitCode? If I disable the error is gone. But I do not know the after effects of this…
thatzprem
  • 4,697
  • 1
  • 33
  • 41
2
votes
0 answers

XCode 7.0.1, link failing during Archive even with BitCode = NO for AWS

I know there are a couple of other questions about this out there, but they are not solving this problem. Pre XCODE 7.x project, upgraded to XCODE 7.0.1 Getting the following error when linking ld:…
ort11
  • 3,359
  • 4
  • 36
  • 69
2
votes
1 answer

Bitcode and enterprise distribution

Since XCode 7 we can export apps from bitcode Which is default when exporting for enterprise distribution. But what does that mean for older iOS versions?
Helge Becker
  • 3,219
  • 1
  • 20
  • 33