Xcode 4.6.3可以在设备上运行,但不能在iPad/iPhone模拟器上运行 [英] Xcode 4.6.3 can run on device but not on iPad/iPhone simulators

查看:85
本文介绍了Xcode 4.6.3可以在设备上运行,但不能在iPad/iPhone模拟器上运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看到了很多关于能够在模拟器上而不是在设备上运行的问题.我是完全相反的.我的设备在设备上运行良好,但我无法在模拟器上运行它.模拟器会弹出,但它只是一个黑屏,状态为构建成功",然后紧接着是在iPad 6.1 Simulator上运行完'应用程序名称'.

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. 重新启动XCode和计算机
  2. 已将代码签名身份更改为不进行代码签名"
  3. 将iOS部署目标更改为其他所有选项

这些都不起作用.有什么想法吗?

None of these worked. Any ideas?

推荐答案

打开模拟器时,有一个菜单项重置内容和设置..."通常可以解决此类问题.有时清除派生数据"文件夹也很有帮助.

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.

这篇关于Xcode 4.6.3可以在设备上运行,但不能在iPad/iPhone模拟器上运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆