Xcode 将构建/运行,但存档失败并显示“没有这样的模块 Google";- 斯威夫特iOS [英] Xcode will build/run but archive fails with "No such module Google" - Swift iOS
问题描述
我的应用在 Xcode 7.1 之前一直运行良好.事实上,它仍然可以在模拟器和 iPhone 上运行,但是当我归档它时,我收到错误Google 没有这样的模块".我将可可豆荚更新到 0.39,并尝试了几个小时调整选项,从重新安装可可豆荚到删除 Google Analytics 可可豆荚并手动添加它等等.但是,没有任何效果,并且每当我归档em> 应用程序,我收到一个错误,但它仍然运行良好.
My app has been working fine until Xcode 7.1. In fact, it still runs on both the simulator and iPhone, but when I archive it, I get the error "No such module Google." I have cocoa pods updated to 0.39 and have tried for hours with tweaking the options, from reinstalling cocoa pods to removing the Google Analytics cocoa pod and adding it manually, etc. However, nothing has worked, and whenever I archive the app, I receive an error, yet it still runs fine.
有什么想法吗?
谢谢!
推荐答案
原来问题出在可可豆荚的谷歌分析上.我完全移除了 cocoapod 并切换到 Flurry.
Turns out the issue was with Google Analytics for cocoa pods. I completely removed the cocoapod and switched to Flurry.
这篇关于Xcode 将构建/运行,但存档失败并显示“没有这样的模块 Google";- 斯威夫特iOS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!