我想问一下然后回答这个问题.
我想更新我的应用程序内置的CocoaPods,所以我pod install
从终端运行.
那是我收到这个错误的时候:
[!] The `APP_NAME [Debug]` target overrides the `FRAMEWORK_SEARCH_PATHS` build setting defined in `Pods/Target Support Files/Pods/Pods.debug.xcconfig'. This can lead to problems with the CocoaPods installation
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
Run Code Online (Sandbox Code Playgroud)
你如何使用$(继承)标志?
我使用Pod将Google AdMob SDK更新为7.1.0.
所以在我的appDelegate.m中,我试图添加这一行
@import GoogleMobileAds;
但我得到错误,说 找不到模块'GoogleMobileAds'.
谷歌在gitHub上的Interstial Ad示例中也出现此问题.
问候Ranjit
在我的应用程序中,我集成了GoogleMobileAds框架以添加一些横幅.问题是,每次启动项目时,都会收到错误消息No such module 'GoogleMobileAds'
.我找到了一个解决方案,但它不是很有效:我删除了框架的引用,我在所有文件所在的文件夹中创建了一个文件夹,并将框架放入其中.每次启动Xcode时,我都需要删除框架的引用,并从我创建的Framework文件夹中再次添加框架,错误消息消失.
有人有解决方案吗?
谢谢 !
UPDATE
使用@ ethemsulan的答案找到解决方案:AdMob 7.3.1和Swift 2.0 - 找不到模块