I am trying to use google maps SDK in my project. I just used my existing framework (drag and drop). But when I am running project, I got this error:
ld: /Work/myProject/GoogleMaps.framework/GoogleMaps(GTMStringEncoding.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)
I have checked bit code in build settings and it was in YES. I can't find solution for this.
Related
I have created static iotivity framework(release) with bit code enabled in xcode-build settings for multiple .a files (each .a file will support for all architecture like armv7,arv7s, arm64, i386, x86_64) and header files by using scripts(https://www.raywenderlich.com/65964/create-a-framework-for-ios). When I try to integrate generated iotivity framework in sample project with bit code enabled, I am getting following error when building in device. Please let me know how to fix this.
iotivity.framework/iotivity(OCPlatform.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 armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I have generated FAT file which will support all architecture as said above. Is there any way to create FAT file with bit code enabled using terminal.
I am trying to archive (create an IPA) for a project, but I get stuck with the following error...
ld: '/Users/anupsaund/Desktop/mobileapp-ios/GoogleAnalytics/libAdIdAccess.a(TAGActualAdIdAccess.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. file '/Users/anupsaund/Desktop/mobileapp-ios/GoogleAnalytics/libAdIdAccess.a' for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Can anyone help me understand where the error could be?
IS it in the google analytics library or somewhere else?
How would I go about getting the verbosity via Xcode to show me the calling code where the error threw?
Any help would be greatly appreciated.
Bitcode is enabled in your project settings but your app was compiled without it. To fix this you can simply set Enable Bitcode in the project and library settings to No. Hope this helped!
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: '/Users/alexanderbollbach/Desktop/motorvate-ios2-master/Pods/ParseFacebookUtils/libParseFacebookUtilsLib.a(PFFacebookAuthenticationProvider.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 armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I'm aware of the new bitcode requirements and the app-thining paradigm but am unfamiliar with how to implement it. Is this something on parses end or can I resolve it myself?
Are you using pod to integrate parse ? if yes than it should be resolved ...
delete your derived data and make clean-rebuild again
see here the discussion
https://github.com/ParsePlatform/Parse-SDK-iOS-OSX/issues/254
Im writing to you as I am deeply in need of some assistance.
I'm trying to compile an app to my iPhone from Xcode, however, I keep encountering the issue of having this error come up when I press run:
ld: warning: directory not found for option '-F2'
ld: '/Users/[My-name]/Documents/XCode Projects/Store Testing Projects Here/BallGame 1.1/StartApp.framework/StartApp(STAJsonAd.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)
Now, I have checked and made sure that both my framework search paths and Library search paths are both empty. This is why I am having such an issue, I cannot for the life of me figure out the issue here! Why is Xcode trying to link something that is not specified to link to!
Thanks in advance, cheers.
Do you have more than one TARGETS?
You can change the value in Build Settings→Build Options→Enable BitCode to NO.
I'm trying to build my app for IOS device, but receive the error:
d: '/PathToApp/Pods/Google/Libraries/libGGLCloudMessaging.a(GGLContext+CloudMessaging.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)
Clearly it states that Google Cloud Messaging does not contain bitcode. Turning off bitcode for both my app project and the 'Pods' project does successfully Build my application, but of course I want to follow Apple standards and have it enabled. Any way to solve this? Just wait for google?
I've marked this as an issue on GitHub, they said that it will be added in the next release.
https://github.com/google/gcm/issues/91
So, yes, We do have to wait for Google or any other experienced developer to release a bitcode version of Google Cloud Messaging.