无法构建Objective-C模块'GoogleMobileAds'

Çağ*_*urt 8 mobile admob ios swift

我喜欢这个视频.

我尝试过清洁但没有解决.我添加了GoogleMobileAds.framework

错误是" ..ViewController.swift:12:8: Could not build Objective-C module 'GoogleMobileAds''"

第12行: import GoogleMobileAds

ntt*_*143 5

在遵循Google教程时遇到同样的问题(https://developers.google.com/admob/ios/quick-start)

我还尝试通过手动添加@Luda解决方案并取得成功.之后,我决定使用Bridging-Header再次尝试使用CocoaPods(与添加Analytics Lib相同: