【问题标题】:Google Cloud Messaging Bitcode, linker command failedGoogle Cloud Messaging Bitcode,链接器命令失败
【发布时间】:2015-09-15 04:29:11
【问题描述】:

我正在尝试为 IOS 设备构建我的应用,但收到错误消息:

d: '/PathToApp/Pods/Google/Libraries/libGGLCloudMessaging.a(GGLContext+CloudMessaging.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)

很明显,它声明 Google Cloud Messaging 不包含位码。关闭我的应用程序项目和“Pods”项目的位码确实成功地构建了我的应用程序,但我当然想遵循 Apple 标准并启用它。有什么办法可以解决这个问题?等谷歌?

【问题讨论】:

    标签: ios google-cloud-messaging


    【解决方案1】:

    我已经在 GitHub 上标记了这个问题,他们说会在下一个版本中添加。

    https://github.com/google/gcm/issues/91

    所以,是的,我们必须等待 Google 或任何其他有经验的开发人员发布 Google Cloud Messaging 的位码版本。

    【讨论】:

      猜你喜欢
      • 2012-09-21
      • 1970-01-01
      • 1970-01-01
      • 2016-10-18
      • 2017-09-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多