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

Firework ios sdk Archiving error with bicode enabled

i am getting error while trying to Archive my app with Bitcode enable, i am using Firework library which is causing the issue, tried some stackoverflow ideas but didn't help, any ideas? HERE are some stackoverflow solution i tried already…
As If Prince
  • 257
  • 2
  • 10
2
votes
1 answer

Is it possible to enable bitcode for my xcframework library using Swift 5.1 toolchain

Having these flags enabled ENABLE_BITCODE=YES BITCODE_GENERATION_MODE=bitcode OTHER_C_FLAGS=-fembed-bitcode An .xarchive is successfully built which is then packaged using xcodebuild into a xcframework. But when it is included in a test app with…
WilliamC
  • 193
  • 10
2
votes
1 answer

Build a fat framework in xcode11 with full bitcode

What I am trying to do: I am trying to build a cocoapods framework in xcode11 and then use it in an iOS SDK. What I have tried: Set Enable Bitcode to yes Before building the framework, I have set Other C flags to -fembed-bitcode and…
2
votes
0 answers

Is it possible to build an Apple Watch App with flutter?

How is it possible to make an Apple Watch App with flutter? I know that bitcode support is crucial for this. But I thought it was added in Flutter 1.9 . I just couldn't find any tutorials or any other resources to get started, since the github…
Hard_Veur
  • 401
  • 1
  • 4
  • 12
2
votes
1 answer

How to have an intermediate compile statement when generating a static library using cmake

I am successfully compiling, using clang, from source code to IR bitcode and generating a static library. The problem I need to solve is that the IR refers to external global variables in their library internal global name. I need to modify these…
Sinkem
  • 31
  • 4
2
votes
1 answer

Flutter: add Share Extension

Problem I have add iOS Share Extension into a very simple Flutter project, My code setup with device on feature branch, I also know bitcode in flutter is not ready yet: Run Target: Share Extension on device ld:…
JerryZhou
  • 4,566
  • 3
  • 37
  • 60
2
votes
2 answers

iOS MobileVLCKit archive problems

While trying archiving my project I got this error: ld: bitcode bundle could not be generated because '/Users//MobileVLCKit/MobileVLCKit.framework/MobileVLCKit(VLCEmbeddedDialogProvider.o)' was built without full bitcode. All object files and…
ironRoei
  • 2,049
  • 24
  • 45
2
votes
0 answers

iOS - Objective C dynamic framework emit bitcode for arch x86_64 (simulator)

Have setup a sample on Github, I'm using Xcode v 9.4.1 https://github.com/iousin/TreeFramework Basically I'm trying to build my framework to include bitcode in the x86_64 simulator build. I tried various settings and tried building on command line,…
Rasin Rdj
  • 21
  • 4
2
votes
1 answer

Will the macros __FILE__, __LINE__ and __PRETTY_FUNCTION__ work irrespective of the build type?

I want to use the Objective-C macros __LINE__ and __PRETTY_FUNCTION__ to log some information at runtime. There are many tools that can provide details to crash dumps, but in my case I want to analyse remote database entries, e.g. record which…
Wayne
  • 3,359
  • 3
  • 30
  • 50
2
votes
1 answer

Enable bitcode build option missing from target

My project has 2 targets, one for iOS and the other for watchOS. In the project Build Settings under Build Options, I have set „Enable Bitcode“ to YES. In the iOS target, „Enable Bitcode“ is also set to YES. The watchOS target, however, does not…
Reinhard Männer
  • 14,022
  • 5
  • 54
  • 116
2
votes
1 answer

The Executable file contains incomplete bitcode error. To compile binaries with complete bitcode, open Xcode and choose archive in the product menu

I tried disabling the bitcode in build settings of project file and for all third party libraries. For libraries Iam getting error "Your app can't contain standalone executables or libraries, other than CFBundleExecutable or supported bundles."
2
votes
2 answers

Only in Xcode8.3 get this error 'AppleMach-o Linker Error :Invalid bitcode signature;Linker command failed...'

this error only happen in xcode8.3, in xcode8.2 and xcode7 it work fine
Mr Fox
  • 51
  • 3
2
votes
2 answers

Error when I try to export adhoc with bitcode

I get this error when I do adhoc export from xcode after I have archived the project: An error occurred during export Failed to verify bitcode in Someframework.framework/Someframework Cannot extract bundle from…
Avba
  • 14,822
  • 20
  • 92
  • 192
2
votes
0 answers

Enable Bitcode in iOS Framework

I am building an iOS Framework via a build script. It builds fine. When I include it to my project, archive it and try to publish it for Enterprise I get the following error in the logs NSLocalizedDescription=Failed to verify bitcode in... I am…
Mike M
  • 4,879
  • 5
  • 38
  • 58
2
votes
1 answer

XMPPFramework error in swift

I installed pod 'XMPPFramework' in my project. When I installed pod asked to Enable Bitcode " $ (inherited) and I did. The installation of pod ' XMPPFramework ' is successful. But, I have one problem. I already installed pod ' SWIFTHttp' in my…
user3636377