1

xcode 7 と cocoapods を使用して解析を行い、アプリはシミュレーターで正しく実行されますが、iPhone5s でテストしようとすると、次のエラーが表示されます: ld: -undefined and -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) cannot be used together clang : エラー: リンカー コマンドが終了コード 1 で失敗しました (呼び出しを確認するには -v を使用してください)

4

1 に答える 1

1

Either remove the "-undefined" linker flag or disable Bitcode.

If you don't have a good reason to use "-undefined", you should get rid of this:

Project Settings -> Target -> Build Settings -> Other Linker Flags -> delete the "-undefined" entry.

Else disabling Bitcode is the way to go:

Project Settings -> Target -> Build Settings -> Enable Bitcode -> set to "No".

于 2015-12-10T18:08:31.310 に答える