1

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.

H. Pauwelyn
  • 13,575
  • 26
  • 81
  • 144
Himanth
  • 2,381
  • 3
  • 28
  • 41
  • 1
    see this once it helps you http://stackoverflow.com/questions/31088618/impact-of-xcode-build-options-enable-bitcode-yes-no – Anbu.Karthik Jul 25 '16 at 08:41
  • How you installed sdk manually or using cocopods – Narendra Pandey Jul 25 '16 at 08:42
  • I installed manually – Himanth Jul 25 '16 at 08:47
  • see this http://stackoverflow.com/questions/37873206/how-to-solve-linker-command-failed-with-exit-code-1-use-v-to-see-invocation/37873354#37873354 – Suraj Sukale Jul 25 '16 at 10:22
  • Maybe your library was compiled without `bitcode`, but the `bitcode` option is enabled in your project settings. Try to set it to `NO` to Enable `Bitcode` in your target Build Settings and the Library Build Settings to remove the warnings. From this [link](https://developer.apple.com/library/watchos/documentation/IDEs/Conceptual/AppDistributionGuide/AppThinning/AppThinning.html), 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. – abielita Jul 26 '16 at 06:49

0 Answers0