Search code examples
iosxcodegoogle-mapsgoogle-maps-sdk-iosxcode7-beta4

Xcode 7 linker issue with Google Maps SDK


I just downloaded Xcode 7 beta 4 and am trying to build my Swift 2.0 application but I am getting the following error which I can't figure out the solution to:

ld: warning: -weak_framework is treated as -framework when used with -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES). Weak linking may still happen based on availability mark-up in headers ld: 'path/Pods/GoogleMaps/Frameworks/GoogleMaps.framework/GoogleMaps(GMSBillingPointRecorder.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)

Does anyone know how to fix this problem?


Solution

  • I changed the ENABLE_BITCODE Flag to No and compiled properly thanks @Visput for the answer