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
0
votes
0 answers

Avoid LLVM-opt generating intrinsics that call external functions

I am using llvm-opt to optimize bitcode which is then compiled to machine code, after which the .text section of the resulting object file is copied to an existing binary. This means that the PLT is not available, thus the bitcode should not contain…
taddeus
  • 102
  • 3
0
votes
1 answer

Is there an alternative to opencore amr to convert wav to amr on iOS?

I have a project that needs to send amr files to the server. The only solution I found so far is a cocoapods library, a swift one, linked to different builds of opencore-amr library. https://github.com/feuvan/opencore-amr-iOS cocoapods:…
Mikael
  • 2,355
  • 1
  • 21
  • 45
0
votes
0 answers

xcode 7 - linker command failed with exit code 1 (use -v to see invocation) bitcode

Got this problem "linker command failed with exit code 1 (use -v to see invocation)" when trying to build, and i found here many solutions, mostly about changing bitcode in build setting section, but i cant see that option, any other solution? thank…
klapinski
  • 151
  • 1
  • 8
0
votes
1 answer

XCODE 7.3, Exporting to AD-HOC, Failed to compile bitcode

When exporting an archive to AD-HOC, during the compile BITCODE phase, getting the following error: An Error occurred during export failed to compile bitcode for XXXX: Any clues on how to figure out what is wrong and fix?
ort11
  • 3,359
  • 4
  • 36
  • 69
0
votes
0 answers

Having trouble with Unity + iOS + Amazon ads

I have been stuck for hours. I recently implemented Amazon mobile ads to my unity project for my iOS application. I added the unity plugin and the framework for amazon ads in my unity project. I build for my iPhone and iPad and the Amazon ads work…
Joey
  • 45
  • 6
0
votes
1 answer

Warning at pod update due to difference in bit code settings in project and pods

I am trying to do a Pod update and recently started getting this error, request you to kindly help me what should I do. I have tried the solution given for $inherited addition but no success yet. [!] The `MYAPP_DEV [Debug]` target overrides the…
codelover
  • 1,113
  • 10
  • 28
0
votes
1 answer

Can not upload a file to the app store with Bitcode disable in Xcode 7

My project exported from the program Unity 5.3.3 to Xcode 7. Size increases significantly compared to the version of android. From 60 mg to 180 mb when the option Bitcode is enabled. When it is disabled it is on 70mg as a file size. But when trying…
0
votes
2 answers

clang: error: linker command failed with exit code 1 (use -v to see invocation) Bitcode Fix NOT Working

I'm trying to move an Xcode app from a MBP to an iMac. I've copied all the folders and files needed but keep getting to following error on build: clang: error: linker command failed with exit code 1 (use -v to see invocation) After Googling around…
jampez77
  • 5,012
  • 7
  • 32
  • 52
0
votes
1 answer

How to check a framework contains full bitcode?

From Xcode7, any framework built with your app should have bitcode if you want to enable bitcode support for your app. I'd like to know a way to check whether a framework project has bitcode or not. There is a similar question here (How to check…
0
votes
2 answers

Does enabling bitcode work for iOS versions before iOS 9 (iOS 7/8)?

I've heard a lot of talk that enabling bitcode decreases the binary size of an app downloaded from the app store onto iOS 9. I haven't been able to find any resources on whether or not bitcode decreases the binary size on previous iOS versions. Does…
Awesome-o
  • 2,002
  • 1
  • 26
  • 38
0
votes
1 answer

Parse Library missing bitcode?

I'm am building to an iphone running iOS9 on xcode 7.1.1 The project uses the parse framework and I get this linker error ld:…
0
votes
1 answer

Bit code iOS App, Size on App Store

I have enabled bit code in my iOS app and size has increased 3x times when archive was uploaded to iTunes. I am wondering if I the same 3x size will show on App store aswell
ila
  • 920
  • 12
  • 35
0
votes
1 answer

Google Cloud Messaging and iOS Bitcode

Back in October I had to remove google-cloud-messaging from my iOS app because Apple would not process the App because the google-cloud-messaging library was not compile for Bitcode. At that time the responses said that Bitcode was going to be…
0
votes
0 answers

Xcode gives link error for Cordova project: 'no bitcode'

I am trying to build a Cordova project with Xcode 7.1.1 and am getting a 'no bitcode' error from the linker: ld:…
Bill Noble
  • 6,466
  • 19
  • 74
  • 133
0
votes
1 answer

IOS application file size

My task is to compare the size of source code build and app store deployed app(both are sane app). I have generated IPA file of the source code build in MAC. Its file size is 29 mb. In app store the size of the same application is 67 mb. How do i…
Yogaraj R
  • 73
  • 1
  • 6