Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/objective-c/22.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios 谷歌分析V3_Ios_Objective C_Google Analytics - Fatal编程技术网

Ios 谷歌分析V3

Ios 谷歌分析V3,ios,objective-c,google-analytics,Ios,Objective C,Google Analytics,在我的项目中使用谷歌分析有一些困难 我添加了Google Analytics SDK文档中描述的库,但仍然有七个问题。 给你 Undefined symbols for architecture i386: "_OBJC_CLASS_$_ASIdentifierManager", referenced from: objc-class-ref in libGoogleAnalyticsServices.a(TAGAdvertiserId.o) objc-class-ref in lib

在我的项目中使用谷歌分析有一些困难

我添加了Google Analytics SDK文档中描述的库,但仍然有七个问题。 给你

Undefined symbols for architecture i386:
 "_OBJC_CLASS_$_ASIdentifierManager", referenced from:
  objc-class-ref in libGoogleAnalyticsServices.a(TAGAdvertiserId.o)
  objc-class-ref in libGoogleAnalyticsServices.a(TAGAdvertisingTrackingEnabledMacro.o)
  objc-class-ref in libGoogleAnalyticsServices.a(TAGMobileAdwordsUniqueIdMacro.o)
  "_llvm_gcda_emit_arcs", referenced from:
  ___llvm_gcov_writeout in libGoogleAnalytics_debug.a(GAIUtil.o)
  ___llvm_gcov_writeout in libGoogleAnalytics_debug.a(GAIDefaultLogger.o)
  ___llvm_gcov_writeout in libGoogleAnalytics_debug.a(GAI.o)
  ___llvm_gcov_writeout in libGoogleAnalytics_debug.a(GAITrackerImpl.o)
  ___llvm_gcov_writeout in libGoogleAnalytics_debug.a(GAIDataStore.o)
  ___llvm_gcov_writeout in libGoogleAnalytics_debug.a(GAIError.o)
  ___llvm_gcov_writeout in libGoogleAnalytics_debug.a(GAICoreDataUtil.o)
  ...
  "_llvm_gcda_emit_function", referenced from:
  ___llvm_gcov_writeout in libGoogleAnalytics_debug.a(GAIUtil.o)
  ___llvm_gcov_writeout in libGoogleAnalytics_debug.a(GAIDefaultLogger.o)
  ___llvm_gcov_writeout in libGoogleAnalytics_debug.a(GAI.o)
  ___llvm_gcov_writeout in libGoogleAnalytics_debug.a(GAITrackerImpl.o)
  ___llvm_gcov_writeout in libGoogleAnalytics_debug.a(GAIDataStore.o)
  ___llvm_gcov_writeout in libGoogleAnalytics_debug.a(GAIError.o)
  ___llvm_gcov_writeout in libGoogleAnalytics_debug.a(GAICoreDataUtil.o)
  ...
  "_llvm_gcda_end_file", referenced from:
  ___llvm_gcov_writeout in libGoogleAnalytics_debug.a(GAIUtil.o)
  ___llvm_gcov_writeout in libGoogleAnalytics_debug.a(GAIDefaultLogger.o)
  ___llvm_gcov_writeout in libGoogleAnalytics_debug.a(GAI.o)
  ___llvm_gcov_writeout in libGoogleAnalytics_debug.a(GAITrackerImpl.o)
  ___llvm_gcov_writeout in libGoogleAnalytics_debug.a(GAIDataStore.o)
  ___llvm_gcov_writeout in libGoogleAnalytics_debug.a(GAIHit.o)
  ___llvm_gcov_writeout in libGoogleAnalytics_debug.a(GAIError.o)
  ...
  "_llvm_gcda_increment_indirect_counter", referenced from:
  -[GAI defaultTracker] in libGoogleAnalytics_debug.a(GAI.o)
  -[GAI setDefaultTracker:] in libGoogleAnalytics_debug.a(GAI.o)
  -[GAI clientId] in libGoogleAnalytics_debug.a(GAI.o)
  -[GAI dispatchInterval] in libGoogleAnalytics_debug.a(GAI.o)
  -[GAI setDispatchInterval:] in libGoogleAnalytics_debug.a(GAI.o)
  -[GAI trackUncaughtExceptions] in libGoogleAnalytics_debug.a(GAI.o)
  -[GAI setTrackUncaughtExceptions:] in libGoogleAnalytics_debug.a(GAI.o)
  ...
  "_llvm_gcda_start_file", referenced from:
  ___llvm_gcov_writeout in libGoogleAnalytics_debug.a(GAIUtil.o)
  ___llvm_gcov_writeout in libGoogleAnalytics_debug.a(GAIDefaultLogger.o)
  ___llvm_gcov_writeout in libGoogleAnalytics_debug.a(GAI.o)
  ___llvm_gcov_writeout in libGoogleAnalytics_debug.a(GAITrackerImpl.o)
  ___llvm_gcov_writeout in libGoogleAnalytics_debug.a(GAIDataStore.o)
  ___llvm_gcov_writeout in libGoogleAnalytics_debug.a(GAIHit.o)
  ___llvm_gcov_writeout in libGoogleAnalytics_debug.a(GAIError.o)
  ...
   ld: symbol(s) not found for architecture i386
   clang: error: linker command failed with exit code 1 (use -v to see invocation)
我不明白我要做什么。你能帮助我吗?
谢谢抱歉我的英语:)

我在添加GAM 3时遇到两个主要问题:

  • 它们不写,但您还需要添加AdSupport.framework
  • 我尝试的上一个版本与64位体系结构不兼容(如果仅在iOS7上部署,就会出现这种情况)

  • 我在添加GAM 3时遇到了两个主要问题:

  • 它们不写,但您还需要添加AdSupport.framework
  • 我尝试的上一个版本与64位体系结构不兼容(如果仅在iOS7上部署,就会出现这种情况)

  • 这里我回答了一个关于GA的问题:在那里,我添加了很多关于GA的信息。有关于2.0beta版的信息,也有关于3.0版的信息(在“EDIT for 3.0:”之后)。我用的是2.0beta版,效果很好

    这里我回答了一个关于GA的问题:在那里,我添加了很多关于GA的信息。有关于2.0beta版的信息,也有关于3.0版的信息(在“为3.0编辑:”之后)。我用的是2.0beta版,效果很好

    您需要将AdSupport.framework添加到项目中。谷歌的说明中没有这一点。

    您需要将AdSupport.framework添加到您的项目中。谷歌的说明中没有这一点。

    从项目中删除libGoogleAnalytics\u debug.a


    我得到了同样的错误,并意识到错误在libGoogleAnalytics_debug.a上。谷歌的文档中没有任何关于添加libGoogleAnalytics_debug.a的内容,因此我将其从项目中删除,错误也就消失了。

    从项目中删除libGoogleAnalytics_debug.a


    我得到了同样的错误,并意识到错误在libGoogleAnalytics_debug.a上。谷歌的文档中没有任何关于添加libGoogleAnalytics_debug.a的内容,因此我将其从项目中删除,错误就消失了。

    只需使用以下文件:

    GAI.h
    GAIDictionaryBuilder.h
    GAIFields.h
    GAILogger.h
    GAITrackedViewController.h
    GAITracker.h
    libGoogleAnalyticsServices.a
    

    正如您在GA示例的
    CuteAnimal
    上看到的那样,只需使用以下文件:

    GAI.h
    GAIDictionaryBuilder.h
    GAIFields.h
    GAILogger.h
    GAITrackedViewController.h
    GAITracker.h
    libGoogleAnalyticsServices.a
    

    正如您在GA示例的
    CuteAnimal
    上看到的那样,添加AdSupport.framework清除了链接器错误。为我工作。

    添加AdSupport.framework清除了链接器错误。为我工作。

    少一个错误,谢谢。我使用的是XCode 4.5,不适用于IOS7或其他东西。少一个错误,谢谢。我使用XCode 4.5,不适用于IOS7或其他东西。添加AdSupport.framework只解决了“\u OBJC\u CLASS\u$\ u asiIdentifierManager”问题-这个小提示解决了“\u llvm\u gcda\u emit\u arcs”等问题。!谢谢添加AdSupport.framework只解决了“\u OBJC\u CLASS\u$\ u asiIdentifierManager”问题-这个小提示解决了“\u llvm\u gcda\u emit\u arcs”等问题。!谢谢请试着阅读这篇文章,以便更好地理解这里的问题/答案。你的贡献并没有回答这个问题。这更多的是一个评论,一旦你提高了你的声誉,你就可以添加它:请尝试阅读这篇文章,以便对这里的问题/答案有更多的了解。你的贡献并没有回答这个问题。这更多的是一种评论,一旦你提高了声誉,你可以添加: