私は静的ライブラリに依存するプロジェクト(lucky me!)を継承しました。意味:libtool:-dynamic指定されていない以下のフラグは無効です:-ObjC
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/libtool: -dynamic not specified the following flags are invalid: -ObjC
理解し、私はを行うれ、次の2行が続くが、これは別の問題(不足しているファイル。)であるように思われる:静的libが構築しようと、私はこのエラーを取得します
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/libtool: can't locate file for: -lFlurryWithLocation /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/libtool: file: -lFlurryWithLocation is not an object file (not allowed in a library) Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/libtool failed with exit code 1
私は間違っています、それはすべて関連していますか?不足しているファイル部分を修正すると、1行目のエラーは消えてしまいますか?
いずれにしても、メッセージの一部は何を意味しますか?-dynamic not specified
ありがとうございます!
libtoolに渡す引数を表示できますか? –
iPhoneの開発では、多くのサードパーティ製ライブラリでは、プロジェクトビルド設定としてリンカフラグ-ObjCを追加する必要があります。 (パラグラフ)私はこのプロジェクトをしばらく試していましたが、魔法のようにエラーはなくなりました。私は本当に何をしたのか、申し訳ありません。私はlibtoolの内側のgerwerkkensを理解している人から '-dynamic not specified'ビットが意味するものを知りたいと思っています! – Olie