且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用Google Maps SDK for IOS时Apple Mach-O Linker出错

更新时间:2023-12-03 15:17:04

更新:这个答案已经过时了。文档现在告诉您使用CocoaPods而不是手动链接依赖项。

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

有关详细信息,请参阅 Google Developers Console

For more information, see Google Developers Console.

OLD ANSWER:

Google Maps SDK要求您链接相当多的框架。它们是:

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

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

我在此处找到了此列表。