我正在尝试将适用于 iOS 的 Google 转化跟踪功能添加到我的 iPhone 应用程序中。 该应用程序的基础 SDK 是 iOS6 该应用程序的有效架构是 armv7、armv7s 该应用程序的 iOS 部署目标是 4.3 我正在使用最新的 xcode 4.5.2 和 OSX 10.8.2
该应用程序在应用商店中,适用于 iPhone 3-4-5
当我尝试通过此链接添加适用于 iOS 的 Google 转化跟踪时:https://developers.google.com/mobile-ads-sdk/docs/admob/conversion-tracking
我有这个错误:
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_ASIdentifierManager", referenced from:
objc-class-ref in libGoogleConversionTracking.a(PingUtil.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
最佳答案
The SDK library references the iOS AdSupport development framework which may not already be part of your project. It can be resolved by including AdSupport.Framework.
To adding the Framework, just follow the steps below. Select the project file at the top. Open the Link Binary With Libraries drop-down under the Build Phases tab. Add the framework from the iOS SDK using the + button.
关于ios - 架构 armv7 的 iOS 链接器错误的 Google 转化跟踪,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13858064/