Xcode 4.6.3 can run on device but not on iPad/iPhone simulators

寵の児 提交于 2020-01-03 02:45:08

问题


I see a bunch of questions about being able to run on the simulator but not on the device. I'm the exact opposite. Mine works great on the device but I can't get it to run on the simulator. The simulator pops up but it is just a black screen and the status says Build Succeeded but then immediately after is says "Finished running 'app name' on iPad 6.1 Simulator.

Things I have tried based on answers from other threads.

  1. Restarting XCode and computer
  2. Changed code signing identity to "Don't Code Sign"
  3. Changed iOS deployment target to EVERY other option

None of these worked. Any ideas?


回答1:


When you open the simulator, there's a menu item "Reset Content and Settings..." that will often fix problems like this. Sometimes it's also helpful to purge the "derived data" folders.



来源:https://stackoverflow.com/questions/17601802/xcode-4-6-3-can-run-on-device-but-not-on-ipad-iphone-simulators

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!