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.

5
  • 1
    see this once it helps you stackoverflow.com/questions/31088618/… Commented Jul 25, 2016 at 8:41
  • How you installed sdk manually or using cocopods Commented Jul 25, 2016 at 8:42
  • I installed manually Commented Jul 25, 2016 at 8:47
  • see this stackoverflow.com/questions/37873206/… Commented Jul 25, 2016 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, 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. Commented Jul 26, 2016 at 6:49

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.