【问题标题】:googlemap sdk having issue with the ios architecturegooglemap sdk 与 ios 架构有问题
【发布时间】:2013-03-16 07:45:51
【问题描述】:

由于苹果地图adk在街道细节上没有很详细,而且谷歌已经提供了新的sdk,我正试图把它作为当前ios 6的解决方法,我面临的问题是它无论您在设置中放置什么架构,都会引发错误, 以下是错误,尽管在 sdkmapdemo 运行时它没有问题:(

    Undefined symbols for architecture armv7:
  "___gxx_personality_sj0", referenced from:
      +[GMSServices provideAPIKey:] in GoogleMaps(GMSServices.o)
      +[GMSServices openSourceLicenseInfo] in GoogleMaps(GMSServices.o)
      +[GMSServices services] in GoogleMaps(GMSServices.o)
      _GMS_NSClassFromString in GoogleMaps(GMSRenames.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

【问题讨论】:

    标签: ios xcode google-maps google-maps-sdk-ios


    【解决方案1】:

    您是否将libstdc++.dylib 添加到项目的框架中?

    【讨论】:

    • 仍然得到 ld:文件是通用的(2 片)但不包含(n)armv7s 片:/Users/arjunchaudhary/Documents/xcode/School Bus New_new/GoogleMaps.framework/GoogleMaps for architecture armv7s clang:错误:链接器命令失败,退出代码为 1(使用 -v 查看调用)
    • 您需要将架构更改为仅 armv7(SDK 不支持 armv7s)。
    • 参见developers.google.com/maps/documentation/ios/…下第7步的第一部分
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-07-14
    相关资源
    最近更新 更多