user3695826 user3695826 - 6 months ago 137
Swift Question

Could not build Objective-C module 'GoogleMobileAds'

I did like in this video.

I tried cleaning but did not solved.I added GoogleMobileAds.framework

The errors is "

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

line 12:
import GoogleMobileAds

Answer

I was facing the same problem while following tutorial from Google (https://developers.google.com/admob/ios/quick-start)

I also tried @Luda solution by adding Manually and succeed. After that, I decide to try again with CocoaPods by using Bridging-Header (same way with adding Analytics Lib: