ios - 架构 armv7 的 iOS 链接器错误的 Google 转化跟踪

标签 ios linker-errors google-ads-api armv7 undefined-symbol

我正在尝试将适用于 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/

相关文章:

ios - 更改 UIView 边框的形状

ios - 表格 View 单元格的附件 View 仅显示在最后一个单元格中

r - 将一行数据分解为多行

c++ - 处理多个功能文件时 Cucumber-cpp 上的链接器错误

RAdwords 错误 ("server certificate verification failed")

Java 如何在 dynamodb 中存储 JSON 对象或 JSON 数组而不将其转换为字符串?

ios - 如何将 ckpt 数据模型用于 tensorflow iOS 示例?

ios - 如何减少 UITabBarItem 图像和文本之间的垂直填充?

C++ 链接器错误 : undefined reference to a static function

c++ - io_context : linking error for the latest boost library 的 undefined symbol