Xcode cannot run using the selected device after upgrade to Xcode 5.0

后端 未结 8 2031
南笙
南笙 2021-02-02 09:53

I upgraded to xcode 5.0 today. I then pressed play to run my project in the iOS simulator. This initially worked. Then I decided that I wanted to run the profiler. When I did th

8条回答
  •  鱼传尺愫
    2021-02-02 10:22

    This issue often occurs after duplicating targets on older projects.

    Set the following in your Info.plist for the target:

    Bundle Name = ${PRODUCT_NAME}
    Bundle Display Name = ${PRODUCT_NAME}
    Executable file = ${EXECUTABLE_NAME}
    

    Build and run with these settings, after a successful build they can be changed to anything you want.

提交回复
热议问题