FBLPromises.framework does not contain bitcode - failing build XCODE 14.2 - ios

'/Users/apple/Library/Developer/Xcode/DerivedData/Unity-iPhone-fqqzmksymhhvlkeeynbylkkvusgy/Build/Products/ReleaseForRunning-iphoneos/PromisesObjC/FBLPromises.framework/FBLPromises'
does not contain bitcode. You must rebuild it with bitcode enabled
(Xcode setting ENABLE_BITCODE), obtain an updated library from the
vendor, or disable bitcode for this target. file
'/Users/apple/Library/Developer/Xcode/DerivedData/Unity-iPhone-fqqzmksymhhvlkeeynbylkkvusgy/Build/Products/ReleaseForRunning-iphoneos/PromisesObjC/FBLPromises.framework/FBLPromises'
for architecture arm64
Issue when I change the BITCODE It solve ALL THE ISSUES BUT AFTER THAT BUILD CRASHED ON LUNCH.

Related

Xcode - Bitcode error only when running on device

When running my app on simulator, it works perfectly, but when I try to run it on my device, I get the following error:
'/Users/xxxxxxxxx/Library/Developer/Xcode/DerivedData/Appname-dvsqmvczxjaaajfxojqecerjuauk/Build/Products/Debug-iphoneos/Amplitude-iOS/Amplitude_iOS.framework/Amplitude_iOS'
does not contain bitcode. You must rebuild it with bitcode enabled
(Xcode setting ENABLE_BITCODE), obtain an updated library from the
vendor, or disable bitcode for this target. file
'/Users/xxxxxxxxx/Library/Developer/Xcode/DerivedData/APPNAME-dvsqmvczxjaaajfxojqecerjuauk/Build/Products/Debug-iphoneos/Amplitude-iOS/Amplitude_iOS.framework/Amplitude_iOS'
for architecture arm64
In both PROJECT and TARGET, I have changed the Enable Bitcode to Yes, inside the Build Options. I have also tried restarting my Mac and iPhone 14. I have also deleted everything in the Derived Data folder multiple times.
Any other ideas what might be the reason?
I solved this error by selecting pods and then bitcode to YES just like this.
I solved this by setting Enable Bitcode to No.

Xcode 7 Fails to Archive

I am using Xcode 7.3.1.
My project runs perfectly on both iOS Simulator as well as my own iPhone. However, when archiving my project, I get the warnings and errors:
ld: warning: ignoring file /Users/parthsaxena/Desktop/Vantage/Vantage/Vantage/TextFieldEffects/TextFieldEffects.framework/TextFieldEffects, file was built for arm64 which is not the architecture being linked (armv7): /Users/parthsaxena/Desktop/Vantage/Vantage/Vantage/TextFieldEffects/TextFieldEffects.framework/TextFieldEffects
ld: bitcode bundle could not be generated because '/Users/parthsaxena/Desktop/Vantage/Vantage/Pods/FirebaseAppIndexing/Frameworks/FirebaseAppIndexing.framework/FirebaseAppIndexing(FIRAppIndexing.o)' was built without full bitcode. All object files and libraries for bitcode must be generated from Xcode Archive or Install build for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
You may have noticed that I am using both the Firebase and TextFieldEffects frameworks in my project.
Is there any solution to this problem?
Your library was compiled without bitcode, but the bitcode option is enabled in your project settings. Say NO to Enable Bitcode in your target Build Settings and the Library Build Settings to remove the warnings.
For those wondering if enabling bitcode is required:
Note: For iOS apps, bitcode is the default, but optional. If you provide bitcode, all apps and frameworks in the app bundle need to include bitcode. For watchOS apps, bitcode is required.
https://developer.apple.com/library/prerelease/watchos/documentation/IDEs/Conceptual/AppDistributionGuide/AppThinning/AppThinning.html
Firebase doesn't support bitcode at the moment (the situation should change in a short time). You should set Build Settings -> Enable Bitcode to NO.
I was getting this error because i didn't have enough free space on my mac

SDK does not contain bitcode ios

In one of my project i am integrating paytab ios sdk while integration error occurs that is
a(PayTabCardReaderViewController.o)' does not contain bitcode.
I have try with enable bitcode=No
but after enable bitcode=no it show me more 40 erros,any one know can we disable bitcode for only 1 sdk/library only ?
Error: a(PayTabCardReaderViewController.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Solution You have to disable bitcode option in the "Build Settings" tab on the workspace / project level. Do not forget CocoaPods if you use it. Manual : how to ENABLE_BITCODE in xcode 7?
What's the "Bitcode"? Bitcode is an intermediate representation of a compiled program. Apps you upload to iTunes Connect that contain bitcode will be compiled and linked on the 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.

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: '/Users/billnoble/Library/Developer/Xcode/DerivedData/CUES-donxgdovpardqqbprhstonixixch/Build/Products/Debug-iphoneos/libCordova.a(CDVInvokedUrlCommand.o)'
does not contain bitcode. You must rebuild it with bitcode
enabled (Xcode setting ENABLE_BITCODE),
obtain an updated library from the vendor, or disable bitcode
I have set Enable Bitcode to No in the build settings for both debug and release versions (as recommended in suggested solutions to this problem elsewhere) but this does not remove the link error.
I have installed the latest Corodova 3.9.2 release.

ios zbar bit code enabled

I am look for "libzbar.a" (zbar compiled library) with BitCode enabled for armv7, armv7s, arm64 architechtures
I tried downloading the zbar xcode project and enabling Bitcode and compiling the library
I also tried other methods such as the one provided in the link :
How do I xcodebuild a static library with Bitcode enabled?
with no success
the linker error:
...ibzbar.a(ZBarCaptureReader.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64
I followed this great article by saturngod and successfully re-compiled "libzbar.a" with full support for Bitcode:
http://www.saturngod.net/articles/enable-bitcode-in-library-file/
The binary with source code, bitcode enabled
https://drive.google.com/open?id=0B-ziC02v2vGiTENJWGdacXVxUEE

Resources