I am trying to update my Google AdMob account as Apple announced a new transparency framework that requires changes to the iOS apps with the release of iOS 14. I updated my Google AdMob pod to the latest version (7.64.0). But, when I am trying to use the following code in the App Delegate:-
import AppTrackingTransparency
import AdSupport
...
func requestIDFA() {
ATTrackingManager.requestTrackingAuthorization(completionHandler: { status in
// Tracking authorization completed. Start loading ads here.
// loadAd()
})
}
I get the following error:-
No such module 'AppTrackingTransparency'
Any help would be highly appreciated!!