ko2ic / flutter_google_ad_manager

Flutter plugin for Google Ad Manager(DFP).
https://pub.dartlang.org/packages/flutter_google_ad_manager
MIT License
55 stars 27 forks source link

i got issue in this package for ios #48

Open swapnilsinha17 opened 2 years ago

swapnilsinha17 commented 2 years ago
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/InterstitialAd.swift:4:33: error: cannot find type 'DFPInterstitial' in scope
    private var interstitialAd: DFPInterstitial?
                                ^~~~~~~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/InterstitialAd.swift:4:33: error: cannot find type 'DFPInterstitial' in scope
    private var interstitialAd: DFPInterstitial?
                                ^~~~~~~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/InterstitialAd.swift:68:27: error: cannot find type 'GADInterstitialDelegate' in scope
extension InterstitialAd: GADInterstitialDelegate {
                          ^~~~~~~~~~~~~~~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/InterstitialAd.swift:70:41: error: cannot find type 'GADInterstitial' in scope
    func interstitialDidReceiveAd(_ ad: GADInterstitial) {
                                        ^~~~~~~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/InterstitialAd.swift:75:26: error: cannot find type 'GADInterstitial' in scope
    func interstitial(_: GADInterstitial, didFailToReceiveAdWithError error: GADRequestError) {
                         ^~~~~~~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/InterstitialAd.swift:75:78: error: cannot find type 'GADRequestError' in scope
    func interstitial(_: GADInterstitial, didFailToReceiveAdWithError error: GADRequestError) {
                                                                             ^~~~~~~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/InterstitialAd.swift:80:43: error: cannot find type 'GADInterstitial' in scope
    func interstitialWillPresentScreen(_: GADInterstitial) {
                                          ^~~~~~~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/InterstitialAd.swift:85:46: error: cannot find type 'GADInterstitial' in scope
    func interstitialWillDismissScreen(_ ad: GADInterstitial) {
                                             ^~~~~~~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/InterstitialAd.swift:91:42: error: cannot find type 'GADInterstitial' in scope
    func interstitialDidDismissScreen(_: GADInterstitial) {
                                         ^~~~~~~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/InterstitialAd.swift:97:46: error: cannot find type 'GADInterstitial' in scope
    func interstitialWillLeaveApplication(_: GADInterstitial) {
                                             ^~~~~~~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/InterstitialAd.swift:35:30: error: cannot find 'DFPInterstitial' in scope
            interstitialAd = DFPInterstitial(adUnitID: "/6499/example/interstitial")
                             ^~~~~~~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/InterstitialAd.swift:38:30: error: cannot find 'DFPInterstitial' in scope
            interstitialAd = DFPInterstitial(adUnitID: adUnitId)
                             ^~~~~~~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/InterstitialAd.swift:42:23: error: cannot find 'DFPRequest' in scope
        let request = DFPRequest()
                      ^~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/InterstitialAd.swift:49:36: error: type of expression is ambiguous without more context
        guard let interstitialAd = interstitialAd else {
                                   ^~~~~~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/InterstitialAd.swift:86:26: error: cannot find 'DFPInterstitial' in scope
        interstitialAd = DFPInterstitial(adUnitID: ad.adUnitID!)
                         ^~~~~~~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:72:52: error: cannot find type 'DFPBannerView' in scope
    private func addBannerViewToView(_ bannerView: DFPBannerView) {
                                                   ^~~~~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:129:52: error: cannot find type 'GADRequestError' in scope
                didFailToReceiveAdWithError error: GADRequestError) {
                                                   ^~~~~~~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:128:10: warning: instance method 'adView(_:didFailToReceiveAdWithError:)' nearly matches optional requirement 'bannerView(_:didFailToReceiveAdWithError:)' of protocol 'GADBannerViewDelegate'
    func adView(_: GADBannerView,
         ^
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:128:10: note: move 'adView(_:didFailToReceiveAdWithError:)' to another extension to silence this warning
    func adView(_: GADBannerView,
         ^
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:128:10: note: make 'adView(_:didFailToReceiveAdWithError:)' private to silence this warning
    func adView(_: GADBannerView,
         ^
    private 
GoogleMobileAds.GADBannerViewDelegate:3:19: note: requirement 'bannerView(_:didFailToReceiveAdWithError:)' declared here
    optional func bannerView(_ bannerView: GADBannerView, didFailToReceiveAdWithError error: Error)
                  ^
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:139:10: warning: instance method 'adViewWillPresentScreen' nearly matches optional requirement 'bannerViewWillPresentScreen' of protocol 'GADBannerViewDelegate'
    func adViewWillPresentScreen(_: GADBannerView) {
         ^
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:139:10: note: rename to 'bannerViewWillPresentScreen' to satisfy this requirement
    func adViewWillPresentScreen(_: GADBannerView) {
         ^~~~~~~~~~~~~~~~~~~~~~~
         bannerViewWillPresentScreen
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:139:10: note: move 'adViewWillPresentScreen' to another extension to silence this warning
    func adViewWillPresentScreen(_: GADBannerView) {
         ^
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:139:10: note: make 'adViewWillPresentScreen' private to silence this warning
    func adViewWillPresentScreen(_: GADBannerView) {
         ^
    private 
GoogleMobileAds.GADBannerViewDelegate:6:19: note: requirement 'bannerViewWillPresentScreen' declared here
    optional func bannerViewWillPresentScreen(_ bannerView: GADBannerView)
                  ^
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:144:10: warning: instance method 'adViewWillDismissScreen' nearly matches optional requirement 'bannerViewWillDismissScreen' of protocol 'GADBannerViewDelegate'
    func adViewWillDismissScreen(_: GADBannerView) {
         ^
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:144:10: note: rename to 'bannerViewWillDismissScreen' to satisfy this requirement
    func adViewWillDismissScreen(_: GADBannerView) {
         ^~~~~~~~~~~~~~~~~~~~~~~
         bannerViewWillDismissScreen
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:144:10: note: move 'adViewWillDismissScreen' to another extension to silence this warning
    func adViewWillDismissScreen(_: GADBannerView) {
         ^
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:144:10: note: make 'adViewWillDismissScreen' private to silence this warning
    func adViewWillDismissScreen(_: GADBannerView) {
         ^
    private 
GoogleMobileAds.GADBannerViewDelegate:7:19: note: requirement 'bannerViewWillDismissScreen' declared here
    optional func bannerViewWillDismissScreen(_ bannerView: GADBannerView)
                  ^
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:149:10: warning: instance method 'adViewDidDismissScreen' nearly matches optional requirement 'bannerViewDidDismissScreen' of protocol 'GADBannerViewDelegate'
    func adViewDidDismissScreen(_: GADBannerView) {
         ^
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:149:10: note: rename to 'bannerViewDidDismissScreen' to satisfy this requirement
    func adViewDidDismissScreen(_: GADBannerView) {
         ^~~~~~~~~~~~~~~~~~~~~~
         bannerViewDidDismissScreen
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:149:10: note: move 'adViewDidDismissScreen' to another extension to silence this warning
    func adViewDidDismissScreen(_: GADBannerView) {
         ^
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:149:10: note: make 'adViewDidDismissScreen' private to silence this warning
    func adViewDidDismissScreen(_: GADBannerView) {
         ^
    private 
GoogleMobileAds.GADBannerViewDelegate:8:19: note: requirement 'bannerViewDidDismissScreen' declared here
    optional func bannerViewDidDismissScreen(_ bannerView: GADBannerView)
                  ^
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:48:26: error: cannot find 'DFPBannerView' in scope
        let bannerView = DFPBannerView(adSize: adSize)
                         ^~~~~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:49:23: error: cannot find 'DFPRequest' in scope
        let request = DFPRequest()
                      ^~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:96:24: error: cannot find 'kGADAdSizeBanner' in scope
                return kGADAdSizeBanner
                       ^~~~~~~~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:98:24: error: cannot find 'kGADAdSizeFullBanner' in scope
                return kGADAdSizeFullBanner
                       ^~~~~~~~~~~~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:100:24: error: cannot find 'kGADAdSizeLargeBanner' in scope
                return kGADAdSizeLargeBanner
                       ^~~~~~~~~~~~~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:102:24: error: cannot find 'kGADAdSizeLeaderboard' in scope
                return kGADAdSizeLeaderboard
                       ^~~~~~~~~~~~~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:104:24: error: cannot find 'kGADAdSizeMediumRectangle' in scope
                return kGADAdSizeMediumRectangle
                       ^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:107:28: warning: 'kGADAdSizeSmartBannerPortrait' is deprecated: Use GADPortraitAnchoredAdaptiveBannerAdSizeWithWidth.
                    return kGADAdSizeSmartBannerPortrait
                           ^
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:109:28: warning: 'kGADAdSizeSmartBannerLandscape' is deprecated: Use GADLandscapeAnchoredAdaptiveBannerAdSizeWithWidth
                    return kGADAdSizeSmartBannerLandscape
                           ^
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:72:52: error: cannot find type 'DFPBannerView' in scope
    private func addBannerViewToView(_ bannerView: DFPBannerView) {
                                                   ^~~~~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:129:52: error: cannot find type 'GADRequestError' in scope
                didFailToReceiveAdWithError error: GADRequestError) {
                                                   ^~~~~~~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:128:10: warning: instance method 'adView(_:didFailToReceiveAdWithError:)' nearly matches optional requirement 'bannerView(_:didFailToReceiveAdWithError:)' of protocol 'GADBannerViewDelegate'
    func adView(_: GADBannerView,
         ^
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:128:10: note: move 'adView(_:didFailToReceiveAdWithError:)' to another extension to silence this warning
    func adView(_: GADBannerView,
         ^
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:128:10: note: make 'adView(_:didFailToReceiveAdWithError:)' private to silence this warning
    func adView(_: GADBannerView,
         ^
    private 
GoogleMobileAds.GADBannerViewDelegate:3:19: note: requirement 'bannerView(_:didFailToReceiveAdWithError:)' declared here
    optional func bannerView(_ bannerView: GADBannerView, didFailToReceiveAdWithError error: Error)
                  ^
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:139:10: warning: instance method 'adViewWillPresentScreen' nearly matches optional requirement 'bannerViewWillPresentScreen' of protocol 'GADBannerViewDelegate'
    func adViewWillPresentScreen(_: GADBannerView) {
         ^
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:139:10: note: rename to 'bannerViewWillPresentScreen' to satisfy this requirement
    func adViewWillPresentScreen(_: GADBannerView) {
         ^~~~~~~~~~~~~~~~~~~~~~~
         bannerViewWillPresentScreen
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:139:10: note: move 'adViewWillPresentScreen' to another extension to silence this warning
    func adViewWillPresentScreen(_: GADBannerView) {
         ^
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:139:10: note: make 'adViewWillPresentScreen' private to silence this warning
    func adViewWillPresentScreen(_: GADBannerView) {
         ^
    private 
GoogleMobileAds.GADBannerViewDelegate:6:19: note: requirement 'bannerViewWillPresentScreen' declared here
    optional func bannerViewWillPresentScreen(_ bannerView: GADBannerView)
                  ^
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:144:10: warning: instance method 'adViewWillDismissScreen' nearly matches optional requirement 'bannerViewWillDismissScreen' of protocol 'GADBannerViewDelegate'
    func adViewWillDismissScreen(_: GADBannerView) {
         ^
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:144:10: note: rename to 'bannerViewWillDismissScreen' to satisfy this requirement
    func adViewWillDismissScreen(_: GADBannerView) {
         ^~~~~~~~~~~~~~~~~~~~~~~
         bannerViewWillDismissScreen
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:144:10: note: move 'adViewWillDismissScreen' to another extension to silence this warning
    func adViewWillDismissScreen(_: GADBannerView) {
         ^
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:144:10: note: make 'adViewWillDismissScreen' private to silence this warning
    func adViewWillDismissScreen(_: GADBannerView) {
         ^
    private 
GoogleMobileAds.GADBannerViewDelegate:7:19: note: requirement 'bannerViewWillDismissScreen' declared here
    optional func bannerViewWillDismissScreen(_ bannerView: GADBannerView)
                  ^
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:149:10: warning: instance method 'adViewDidDismissScreen' nearly matches optional requirement 'bannerViewDidDismissScreen' of protocol 'GADBannerViewDelegate'
    func adViewDidDismissScreen(_: GADBannerView) {
         ^
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:149:10: note: rename to 'bannerViewDidDismissScreen' to satisfy this requirement
    func adViewDidDismissScreen(_: GADBannerView) {
         ^~~~~~~~~~~~~~~~~~~~~~
         bannerViewDidDismissScreen
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:149:10: note: move 'adViewDidDismissScreen' to another extension to silence this warning
    func adViewDidDismissScreen(_: GADBannerView) {
         ^
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:149:10: note: make 'adViewDidDismissScreen' private to silence this warning
    func adViewDidDismissScreen(_: GADBannerView) {
         ^
    private 
GoogleMobileAds.GADBannerViewDelegate:8:19: note: requirement 'bannerViewDidDismissScreen' declared here
    optional func bannerViewDidDismissScreen(_ bannerView: GADBannerView)
                  ^
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:48:26: error: cannot find 'DFPBannerView' in scope
        let bannerView = DFPBannerView(adSize: adSize)
                         ^~~~~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:49:23: error: cannot find 'DFPRequest' in scope
        let request = DFPRequest()
                      ^~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:96:24: error: cannot find 'kGADAdSizeBanner' in scope
                return kGADAdSizeBanner
                       ^~~~~~~~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:98:24: error: cannot find 'kGADAdSizeFullBanner' in scope
                return kGADAdSizeFullBanner
                       ^~~~~~~~~~~~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:100:24: error: cannot find 'kGADAdSizeLargeBanner' in scope
                return kGADAdSizeLargeBanner
                       ^~~~~~~~~~~~~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:102:24: error: cannot find 'kGADAdSizeLeaderboard' in scope
                return kGADAdSizeLeaderboard
                       ^~~~~~~~~~~~~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:104:24: error: cannot find 'kGADAdSizeMediumRectangle' in scope
                return kGADAdSizeMediumRectangle
                       ^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:107:28: warning: 'kGADAdSizeSmartBannerPortrait' is deprecated: Use GADPortraitAnchoredAdaptiveBannerAdSizeWithWidth.
                    return kGADAdSizeSmartBannerPortrait
                           ^
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/BannerView.swift:109:28: warning: 'kGADAdSizeSmartBannerLandscape' is deprecated: Use GADLandscapeAnchoredAdaptiveBannerAdSizeWithWidth
                    return kGADAdSizeSmartBannerLandscape
                           ^
/Users/mac/Library/Developer/Xcode/DerivedData/Runner-cpibeuybfduaawbrguzroycuckjv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/flutter_google_ad_manager.build/Objects-normal/x86_64/BannerViewFactory.dia:1:1: warning: Could not read serialized diagnostics file: error("Invalid diagnostics signature") (in target 'flutter_google_ad_manager' from project 'Pods')
Command CompileSwift failed with a nonzero exit code
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/RewardedAd.swift:64:23: error: cannot find type 'GADRewardBasedVideoAdDelegate' in scope
extension RewardedAd: GADRewardBasedVideoAdDelegate {
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/RewardedAd.swift:65:32: error: cannot find type 'GADRewardBasedVideoAd' in scope
    func rewardBasedVideoAd(_: GADRewardBasedVideoAd,
                               ^~~~~~~~~~~~~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/RewardedAd.swift:70:42: error: cannot find type 'GADRewardBasedVideoAd' in scope
    func rewardBasedVideoAdDidReceive(_: GADRewardBasedVideoAd) {
                                         ^~~~~~~~~~~~~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/RewardedAd.swift:74:39: error: cannot find type 'GADRewardBasedVideoAd' in scope
    func rewardBasedVideoAdDidOpen(_: GADRewardBasedVideoAd) {
                                      ^~~~~~~~~~~~~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/RewardedAd.swift:78:47: error: cannot find type 'GADRewardBasedVideoAd' in scope
    func rewardBasedVideoAdDidStartPlaying(_: GADRewardBasedVideoAd) {
                                              ^~~~~~~~~~~~~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/RewardedAd.swift:82:50: error: cannot find type 'GADRewardBasedVideoAd' in scope
    func rewardBasedVideoAdDidCompletePlaying(_: GADRewardBasedVideoAd) {
                                                 ^~~~~~~~~~~~~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/RewardedAd.swift:86:40: error: cannot find type 'GADRewardBasedVideoAd' in scope
    func rewardBasedVideoAdDidClose(_: GADRewardBasedVideoAd) {
                                       ^~~~~~~~~~~~~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/RewardedAd.swift:90:52: error: cannot find type 'GADRewardBasedVideoAd' in scope
    func rewardBasedVideoAdWillLeaveApplication(_: GADRewardBasedVideoAd) {
                                                   ^~~~~~~~~~~~~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/RewardedAd.swift:94:32: error: cannot find type 'GADRewardBasedVideoAd' in scope
    func rewardBasedVideoAd(_: GADRewardBasedVideoAd,
                               ^~~~~~~~~~~~~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/RewardedAd.swift:37:9: error: cannot find 'GADRewardBasedVideoAd' in scope
        GADRewardBasedVideoAd.sharedInstance().delegate = self
        ^~~~~~~~~~~~~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/RewardedAd.swift:39:13: error: cannot find 'GADRewardBasedVideoAd' in scope
            GADRewardBasedVideoAd.sharedInstance().load(DFPRequest(),
            ^~~~~~~~~~~~~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/RewardedAd.swift:39:57: error: cannot find 'DFPRequest' in scope
            GADRewardBasedVideoAd.sharedInstance().load(DFPRequest(),
                                                        ^~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/RewardedAd.swift:43:13: error: cannot find 'GADRewardBasedVideoAd' in scope
            GADRewardBasedVideoAd.sharedInstance().load(DFPRequest(),
            ^~~~~~~~~~~~~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/RewardedAd.swift:43:57: error: cannot find 'DFPRequest' in scope
            GADRewardBasedVideoAd.sharedInstance().load(DFPRequest(),
                                                        ^~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/RewardedAd.swift:50:12: error: cannot find 'GADRewardBasedVideoAd' in scope
        if GADRewardBasedVideoAd.sharedInstance().isReady {
           ^~~~~~~~~~~~~~~~~~~~~
/Users/mac/Documents/fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/ios/Classes/RewardedAd.swift:52:13: error: cannot find 'GADRewardBasedVideoAd' in scope
            GADRewardBasedVideoAd.sharedInstance().present(fromRootViewController: roolViewControlelr)
            ^~~~~~~~~~~~~~~~~~~~~
note: Using new build system
note: Planning
note: Build preparation complete
note: Building targets in dependency order
/Path/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.2.99. (in target 'TOCropViewController-TOCropViewControllerBundle' from project 'Pods')

Path/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.2.99. (in target 'TOCropViewController' from project 'Pods') Path/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.2.99. (in target 'OrderedSet' from project 'Pods') Path/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.2.99. (in target 'FMDB' from project 'Pods') Path/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.2.99. (in target 'FBSDKLoginKit' from project 'Pods') Path/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.2.99. (in target 'FBSDKCoreKit' from project 'Pods') Path/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.2.99. (in target 'AppAuth' from project 'Pods') Path/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.2.99. (in target 'Flutter' from project 'Pods') Path/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.2.99. (in target 'GoogleSignIn' from project 'Pods')

swapnilsinha17 commented 2 years ago

Hiii @ko2ic Any update

swapnilsinha17 commented 2 years ago

@ashbressler @ko2ic @najeira Anyone please help

ashbressler commented 2 years ago

@expertdev-designer I have not looked at this package in a long time, but it looks like you're trying to run this on an old OS in the simulator, can you try to run it on a simulator or device that is > iOS 9.0

swapnilsinha17 commented 2 years ago

@expertdev-designer I have not looked at this package in a long time, but it looks like you're trying to run this on an old OS in the simulator, can you try to run it on a simulator or device that is > iOS 9.0

I run this on iOS 15.2

swapnilsinha17 commented 2 years ago

@ashbressler @ko2ic

../../../fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/lib/banner.dart:15:9: Error: Type 'TestDevices' not found. final TestDevices testDevices; ^^^^^^^^^^^ ../../../fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/lib/banner.dart:18:9: Error: Type 'DFPAdSize' not found. final DFPAdSize adSize; ^^^^^^^^^ ../../../fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/lib/banner.dart:126:9: Error: Type 'TestDevices' not found. final TestDevices testDevices; ^^^^^^^^^^^ ../../../fluttersdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_google_ad_manager-0.11.1/lib/banner.dart:128:9: Error: Type 'DFPAdSize' not found. final DFPAdSize adSize;

Now i get this

swapnilsinha17 commented 2 years ago

@ashbressler @ko2ic Any update ?Please