admob - iOS: Wrong instruction in installing Google Mobile Ads SDK? -
i'm following tutorial put google ad on page: https://firebase.google.com/docs/admob/ios/quick-start
at step:
gadmobileads.configurewithapplicationid("ca-app-pub-8123415297019784~8909888406");
and error occurred:
appdelegate.swift:58:9: type 'gadmobileads' has no member 'configurewithapplicationid'
and after checking, see there no member configurewithapplicationid
.
what's wrong instruction? , why have install firebase/core in version?
here methods in gadmobileads, there no configurewithapplicationid objective c version. how stupid http://i.imgur.com/od0vkpg.png
remove cocoapods line instruction , replace line:
pod 'google-mobile-ads-sdk'
it install google sdk version 7.9.0 , you'll see configurewithapplicationid
method. error google swift.
Comments
Post a Comment