2012-12-13 12 views
9

Ich versuche, die Google Conversion Tracking für iOS-Funktion zu meiner iPhone App hinzufügen. Die Basis SDK App ist iOS6 der App gültig Architekturen ARMv7 ist, armv7s die iOS Deployment targer App 4.3 ist ich die neueste Xcode 4.5.2 und OSX in Appstore 10.8.2Google Conversion Tracking für iOS Linker Fehler für Architektur armv7

Die App ist mit und für iPhone 3-4-5 ok ist

Wenn ich versuche, die Google-Conversion-Tracking für iOS diesen Link hinzuzufügen: https://developers.google.com/mobile-ads-sdk/docs/admob/conversion-tracking

ich habe diesen Fehler:

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) 
+6

OK, das Problem war, dass ich das AdSupport.framework nicht eingeschlossen habe Diese Information ist nicht in der Dokumentation vorhanden, aber ich fand es in einem Bild im Dokument .... – alesic

+0

Oder '#import ' –

+0

Importieren entfernt meinen Fehler nicht :( – Lakshay

Antwort

2

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.

+1

Vorsicht mit dieser AdSupport-Bibliothek; Wenn Sie es in Ihr Projekt aufnehmen und es nicht verwenden, scheint es während des Apple-Genehmigungsprozesses etwas auszulösen. Ref: https://code.google.com/p/analytics-issues/issues/detail?id=387 –

+0

Weiß jemand, ob es noch ein Problem mit dem Apple Review-Prozess gibt und das AdSupport-Framework für diesen Zweck enthält? – AndyRyan

Verwandte Themen