2011-12-28 13 views
0

可能性の重複をプログラミング構築:program.Butには、ビルドの問題の問題はありません
Warning: The Copy Bundle Resources build phase contains this target's Info.plist fileiPhoneは

、私はシミュレータ上で実行しようとすると、それは2つのエラーが表示されます。

Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang failed with exit code 1 

Warning: The Copy Bundle Resources build phase contains this target's Info.plist file 'CalCulator/CalCulator-Info.plist'. 

このエラーが表示される理由は何ですか?

更新:私はエラーを解決しました。なぜこれが表示されますか?

Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang failed with exit code 1 

アドバイス

+0

合意、複製。その質問、Yasirをチェックしてください! :) – vilhalmer

答えて

5

コンパイラの警告(またはエラー)のおかげで、100%正確です。

コピーバンドルリソース相を構築するには、あなたが誤ってあなたのプロジェクトのターゲットにInfo.plistファイルプロジェクトを追加

このターゲットのInfo.plistファイルが含まれています。

左側のサイドバーでInfo.plistファイルを選択してください。右側のサイドバーでファイルインスペクタを開き、[対象メンバーシップ]セクションのチェックマークを削除します。