IOS模拟器黑屏和应用程序安装失败

IOS模拟器黑屏和应用程序安装失败

本文介绍了Xcode 5 IOS模拟器黑屏和应用程序安装失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚更新了我的xcode以使用ios7。现在每当我创建一个新应用程序时,即使它设置为ios7构建,我在运行时在模拟器中出现错误。它说安装失败了,即使我刚刚制作了项目并且还没有编写任何内容。模拟器还显示黑屏。我尝试过重置内容,但没有用。我在某处看到了删除应用程序支持中的Iphone Simulator文件夹的内容,但似乎没有这样的文件夹存在。我可以尝试做些什么?

I just updated my xcode to work with ios7. Now whenever I make a new app, even if its set to build for ios7, I get an error in the simulator when running. It says that the install failed, even if I just made the project and haven't coded anything into it yet. The simulator also shows a black screen. I have tried the reset content, and it didn't work. I saw something somewhere saying to delete the Iphone Simulator folder in application support, but no such folder seems to exist. What can I try to do?

更新 -

还有一些额外的研究,我发现Iphone Simultor现在在Xcode.app中,但我不知道要删除什么。 iPhone模拟器文件夹下有许多文件。如果我删除了实际的应用程序,它就不会打开。有任何想法吗??我甚至不在屏幕上看到iphone,只是一个黑色的窗口...

With some additional research, I found that Iphone Simultor is in the Xcode.app now, but I don't know what to delete. There are many files under the iPhone Simulator Folder. If I delete the actual app, it just doesnt open. Any ideas?? I dont even get an iphone on the screen, just a black window...

更新2:

即使我只是打开开发工具 - > iphone模拟器
它仍然只给我一个黑屏......

Even when I just go to open developer tools -> iphone simulatorit still gives me just a black screen....

更新3

我刚刚重新安装了X-code,现在一切正常!奇怪......我不知道发生了什么......但我想我会让所有有类似问题的人知道。

I just re-installed X-code, and all works now! Strange....I have no idea what happened...But I thought I would let y'all know for others who have similar issues.

推荐答案

当模拟器打开时 - 转到iOS模拟器选项卡 - >重置内容和设置..
为我工作。

When simulator open - Go to iOS simulator tab -> reset content and settings..Work for me.

这篇关于Xcode 5 IOS模拟器黑屏和应用程序安装失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 14:48