Building Setting プロジェクトで、製品名を {Target Name} から好きな名前に変更しましたが、シミュレーターでコードを実行できなくなりました。
誰でも以前に同様の経験があり、それを解決する方法はありますか?
ターゲット名を変更した場合は、シミュレーターから古いビルドを削除する必要があります
最も簡単な方法CFBundleDisplayName
は、Info.plist ファイルの " " プロパティを変更し、PRODUCT_NAME の設定を元の状態 (" ${TARGET_NAME}
") のままにすることです。
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.