9

我正在尝试将 Google Conversion Tracking for iOS 功能添加到我的 iPhone 应用程序中。应用程序的基础 SDK 是 iOS6 应用程序的有效架构是 armv7, armv7s 应用程序的 iOS 部署目标是 4.3 我正在使用最新的 xcode 4.5.2 和 OSX 10.8.2

该应用程序在 appstore 中,适用于 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)
4

1 回答 1

5

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.

于 2013-08-20T05:02:45.973 回答