Google Conversion Tracking for iOS linker error for architecture armv7

你。 提交于 2020-01-01 08:53:55

问题


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

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

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

I have this error:

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)

回答1:


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.



来源:https://stackoverflow.com/questions/13858064/google-conversion-tracking-for-ios-linker-error-for-architecture-armv7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!