简体   繁体   中英

XCode 5 Cannot run on selected device

Cocos2d-x v3 beta, XCode 5.0.2 on 10.9

I have been running V3 Alpha 0 and things are fine.

I downloaded V3 Beta.

I used create_project.py to create a new application

If I try and run this application it works in the simulator

I import all of my source and resources. My app compiles and I get "XCode 5 cannot run on selected device " I have gotten this before in the past and always was solvable.

Here is what I have tried.

  1. Build -> Clean
  2. Removed Derived Data.
  3. Reset all iOS Simulators.
  4. Opened cocos2d_libs and changed all 'ios' to Deployment Target = iso7 and rebuilt everything.
  5. using LLVm 5 and this is set

Still no luck.

Usually you get this error when

  • the selected device is not set up for development
  • the selected device does not support or does not run the targeted iOS version

In your case I suspect the device doesn't run iOS 7. Upgrade the device OS if possible, or select an earlier iOS deployment target.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM