3

私はあなたに手紙を書いています。

Xcode から iPhone にアプリをコンパイルしようとしていますが、実行を押すとこのエラーが発生するという問題が発生し続けます。

ld: warning: directory not found for option '-F2'
ld: '/Users/[My-name]/Documents/XCode Projects/Store Testing Projects Here/BallGame 1.1/StartApp.framework/StartApp(STAJsonAd.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

これで、フレームワークの検索パスとライブラリの検索パスの両方がであることを確認しました。これが私がそのような問題を抱えている理由です。私は一生ここで問題を理解することはできません! Xcode がリンク先として指定されていないものをリンクしようとするのはなぜですか!

よろしくお願いします。

4

1 に答える 1

1
  1. 複数の TARGETS がありますか?
  2. Build Settings→Build Options→Enable BitCode の値を NO に変更できます。
于 2015-10-29T03:06:08.547 に答える