Keep getting error messages when compiling newest version of admob on IOS6 SDK(在 IOS6 SDK 上编译最新版本的 admob 时不断收到错误消息)

本文介绍了在 IOS6 SDK 上编译最新版本的 admob 时不断收到错误消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经下载了最新版本的 googles admob sdk.但是现在我在使用最新的 sdk 编译 xcode 4.5 时不断收到以下错误.

I've downloaded the newest version of googles admob sdk. But now I keep getting the following error when compiling in xcode 4.5 with the latest sdk.

Undefined symbols for architecture i386:
  "_OBJC_CLASS_$_ASIdentifierManager", referenced from:
      objc-class-ref in libGoogleAdMobAds.a(GADIdentifierUtilities.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

知道什么地方出了问题吗?

Any idea on what could be wrong?

推荐答案

你可能没有添加 AdSupport.framework.还记得删除 -all_load 链接器标志.

You probably didn't add AdSupport.framework. Also remember to remove -all_load linker flag.

这篇关于在 IOS6 SDK 上编译最新版本的 admob 时不断收到错误消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!