我在我的项目中导入了 libGoogleAdMobAds.a 和 Adsupport 框架。和所有头文件。链接器标志为:- -0bjC.Architecture 是 armv7。Xcode:- 4.5.2 和 ios 4.3 及更高版本。
但它仍然给我以下错误: -
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)
谁能帮我解决这个问题。
提前致谢