Apple Mach-O Linker Error when using Google Maps SDK for IOS

后端 未结 3 2087
滥情空心
滥情空心 2020-12-21 12:21

I am trying to use the Google Maps SDK in my app. So far, I have linked all the frameworks. I am pretty sure I have added the appropriate -ObjC flags as per the

3条回答
  •  盖世英雄少女心
    2020-12-21 12:38

    As you said, you're using the Google Maps SDK for iOS. Yet, it looks like you are compiling for OS X, as the symbols are undefined for i386, an Intel processor. (Unless you are trying to compile for the simulator)

    The SDK may not be compiled for the simulator. You can check by running the SDK binary through the "file" command. If it has support for ARM processors, but not i386, it doesn't have support for the simulator. You'll have to change your build flags to only compile for armv7/armv7s processors.

提交回复
热议问题