In my projects, I imported libGoogleAdMobAds.a and the Adsupport structure. and all header.Linker files as: - -0bjC.Architecture - armv7. Xcode: - 4.5.2 and ios 4.3 and higher.
But still it gives me the error below: -
Undefined symbols for architecture i386: "_CGSizeFromGADAdSize", referenced from: -[BannerExampleViewController viewDidLoad] in BannerExampleViewController.o "_OBJC_CLASS_$_GADBannerView", referenced from: objc-class-ref in BannerExampleViewController.o "_OBJC_CLASS_$_GADRequest", referenced from: objc-class-ref in BannerExampleViewController.o "_kGADAdSizeBanner", referenced from: -[BannerExampleViewController viewDidLoad] in BannerExampleViewController.o ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Can anyone help me how to solve this.
Thanks in advance
ios developer
source share