架构armv7的iOS转换跟踪iOS链接器错误 [英] Google Conversion Tracking for iOS linker error for architecture armv7

查看:204
本文介绍了架构armv7的iOS转换跟踪iOS链接器错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将iOS转换追踪功能添加到我的iPhone应用中。
应用程序的基础SDK是iOS6
应用程序的有效架构是armv7,armv7s
应用程序的iOS部署目标是4.3
我使用的是最新的xcode 4.5.2和OSX 10.8 .2

I'm trying to add the Google Conversion Tracking for iOS feature to my iPhone app. The app's base SDK is iOS6 the app's valid architectures is armv7, armv7s the app's iOS deployment targer is 4.3 I'm using the latest xcode 4.5.2 and OSX 10.8.2

该应用程序位于appstore中,适用于iPhone 3-4-5

The app is in appstore and is ok for iPhone 3-4-5

当我尝试要通过以下链接添加适用于iOS的Google转化跟踪: https:/ /developers.google.com/mobile-ads-sdk/docs/admob/conversion-tracking

When I try to add the Google Conversion Tracking for iOS following this link: 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)


推荐答案


SDK库引用了iOS AdSupport开发框架
,它可能不属于您的项目。它可以通过
解决,包括AdSupport.Framework。

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.

要添加框架,只需按照以下步骤操作即可。选择顶部的
项目文件。在Build Phases选项卡下打开Link Binary With Libraries下拉
。使用
+按钮从iOS SDK添加框架。

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.

这篇关于架构armv7的iOS转换跟踪iOS链接器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆