ios – Google Cloud Messaging Bitcode,链接器命令失败

我正在尝试为
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不包含bitcode.关闭我的应用程序项目和“Pods”项目的bitcode成功构建我的应用程序,但当然我想遵循Apple标准并启用它.有办法解决这个问题吗?只是等待谷歌?

最佳答案 我在GitHub上将此标记为一个问题,他们表示将在下一个版本中添加它.

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

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

点赞