Google Analytics SDK for iOS v3がリンクに失敗する問題について

Google Analytics SDK for iOS v3を公式ドキュメントのGetting Startedに従って組み込んだところ, ビルド時に以下のようなエラーが出力され, ビルドに失敗します.

[text]
"_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)

ld: symbol(s) not found for architecture i386

clang: error: linker command failed with exit code 1 (use -v to see invocation)
[/text]

ドキュメントに記載されている以下の4つに加え, AdSupport.frameworkを追加することで, 正常にビルドできるようになります.

  • libGoogleAnalyticsServices.a
  • CoreData.framework
  • SystemConfiguration.framework
  • libz.dylib

参考: http://stackoverflow.com/questions/18286150/linker-errors-when-trying-to-install-new-google-analytics-3-0-beta