LoginSignup
0
1

More than 5 years have passed since last update.

iOS向けコンバージョントラッキングの適用メモ

Posted at

前置き

以下のページに沿ってiOS向けに、 AdWords Conversion Tracking SDKを導入しようとした。
https://developers.google.com/app-conversion-tracking/ios/?hl=ja

対応

基本的にはドキュメント通りに導入できた。

ツまったトコ Part1

SDKのパス

Xcodeプロジェクトの
[Build Settings > Search Paths > Library Search Paths]
以下2件追加
$(PROJECT_DIR)/GoogleConversionTrackingSDK-iOS-3.4.0
\"$(SRCROOT)/Libraries\"

※2つ目を指定しないとなぜか下のエラーが出た……入っているのに……

ld: library not found for -liPhone-lib
clang: error: linker command failed with exit code 1 (use -v to see invocation)

参考ページ:http://kan-kikuchi.hatenablog.com/entry/2013/11/12/070553

UnityのPostProcessBuildを使って自動化

UnityでARC設定を編集する方法でXcodeプロジェクトを編集して、基本的には対応。

ツまったトコ Part2

リンカーフラグ「-ObjC」の追加で、「Other Linker Flags」の設定パラメータが「OTHER_LDFLAGS」であった。。
http://answers.unity3d.com/questions/982417/how-to-specify-objc-in-other-linker-flag-in-xcode.html

0
1
0

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
0
1