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

后端 未结 3 2079
滥情空心
滥情空心 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:34

    UPDATE: this answer is outdated. The documentation now tells you to use CocoaPods instead of manually linking dependencies.

    For more information, see Google Developers Console.

    OLD ANSWER:

    The Google Maps SDK requires you to link quite a few frameworks. Here they are:

    • AVFoundation.framework
    • CoreData.framework
    • CoreLocation.framework
    • CoreText.framework
    • GLKit.framework
    • ImageIO.framework
    • libc++.dylib
    • libicucore.dylib
    • libz.dylib
    • OpenGLES.framework
    • QuartzCore.framework
    • SystemConfiguration.framework

    I found this list at here.

提交回复
热议问题