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 settingENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64clang: error: linker command failed with exit code 1 (use
-vto see invocation)
I have checked bit code in build settings and it was in YES. I can't find solution for this.
bitcode, but thebitcodeoption is enabled in your project settings. Try to set it toNOto EnableBitcodein your target Build Settings and the Library Build Settings to remove the warnings. From this link, it states that bitcode is the default, but optional for iOS Apps. If you provide bitcode, all apps and frameworks in the app bundle need to include bitcode.