0

Building Setting プロジェクトで、製品名を {Target Name} から好きな名前に変更しましたが、シミュレーターでコードを実行できなくなりました。

誰でも以前に同様の経験があり、それを解決する方法はありますか?

4

3 に答える 3

0

ターゲット名を変更した場合は、シミュレーターから古いビルドを削除する必要があります

于 2013-08-10T10:32:18.043 に答える
0

最も簡単な方法CFBundleDisplayNameは、Info.plist ファイルの " " プロパティを変更し、PRODUCT_NAME の設定を元の状態 (" ${TARGET_NAME}") のままにすることです。

于 2013-08-10T09:55:41.273 に答える
0

I tried this in my xcode project to test your situation. Yes you are right. the simulator started but project didn't run and debugger also didn't start. Finally i deleted my old application from simulator and run it again. it worked :)

So just delete old application from simulator and Run it again. Its simple. I don't know about the reason but there could be bundle identifier mismatch with your target name.

于 2013-08-10T10:14:48.453 に答える