我在我的項目中導入了libGoogleAdMobAds.a和Adsupport框架。 和所有頭文件。鏈接標誌爲: - -0bjC.Architecture是armv7。 Xcode: - 4.5.2和ios 4.3及以上版本。iPhone中的GoogleAdMobAds sdk
但它仍然給了我下面的錯誤: -
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)
誰能幫助我如何解決這個問題。提前
感謝
它幫助我博士.. – kondapaka 2014-04-23 07:22:16