Open ghost opened 10 years ago
Ok solved this problem. It was a case of not having the proper frameworks added to the project. I fixed this by adding the following frameworks:
AdSupport
AudioToolbox
AVFoundation
CoreData
CoreGraphics
CoreTelephony
MessageUI
StoreKit
SystemConfiguration
Opps Scratch that an update was also necessary the new AdMob SDk needs to be added to this repo
add but same error yet
I'm getting the following error on archive, I believe the AdMob SDK may need to be upgraded in the plugin.
Undefined symbols for architecture arm64: "_OBJCCLASS$_GADAdMobExtras", referenced from: objc-class-ref in AdMobPlugin.o "_kGADAdSizeFullBanner", referenced from: -[AdMobPlugin GADAdSizeFromString:] in AdMobPlugin.o "_OBJCCLASS$_GADRequest", referenced from: objc-class-ref in AdMobPlugin.o "_OBJCCLASS$_GADInterstitial", referenced from: objc-class-ref in AdMobPlugin.o "_OBJCCLASS$_GADBannerView", referenced from: objc-class-ref in AdMobPlugin.o "_kGADAdSizeSmartBannerLandscape", referenced from: -[AdMobPlugin GADAdSizeFromString:] in AdMobPlugin.o -[AdMobPlugin resizeViews] in AdMobPlugin.o "_kGADAdSizeLeaderboard", referenced from: -[AdMobPlugin GADAdSizeFromString:] in AdMobPlugin.o "_kGADAdSizeBanner", referenced from: -[AdMobPlugin GADAdSizeFromString:] in AdMobPlugin.o "_kGADAdSizeInvalid", referenced from: -[AdMobPlugin createBannerView:] in AdMobPlugin.o -[AdMobPlugin GADAdSizeFromString:] in AdMobPlugin.o "_kGADAdSizeSmartBannerPortrait", referenced from: -[AdMobPlugin GADAdSizeFromString:] in AdMobPlugin.o -[AdMobPlugin resizeViews] in AdMobPlugin.o "_kGADAdSizeMediumRectangle", referenced from: -[AdMobPlugin GADAdSizeFromString:] in AdMobPlugin.o "_GADAdSizeEqualToSize", referenced from: -[AdMobPlugin createBannerView:] in AdMobPlugin.o -[AdMobPlugin resizeViews] in AdMobPlugin.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)