5
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Google Analytics SDK for iOS v3 (Beta)導入時のエラー

Last updated at Posted at 2014-01-28

iOSアプリアクセス解析を導入する際に(もはやアクセス解析と言わないかもしれませんが。。。)
Google Analyticsを使われる方が多いと思いますが
なんとまぁ以下Googleのドキュメント通りにしてもエラーがでます。

Google Analytics SDK for iOS v3 (Beta) - Getting Started
https://developers.google.com/analytics/devguides/collection/ios/v3/#headers

エラー内容の一部
Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_ASIdentifierManager", referenced from:
      objc-class-ref in libGoogleAnalyticsServices.a(GAITrackerModel.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

その際は
AdSupport.framework
を追加しましょう。

追記 2014/02/14

yimajoさんからAdSupport.frameworkを組み込んでいるとリジェクトされる可能性が高いとのコメントを頂きました。危ない危ない。。。
ということで、詳しくは下記を参照下さい。
>> 広告表示がないアプリでGoogle Analytics for iOSを組み込んでいるとリジェクトされる問題

5
4
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?