完成运行< App>在iPhone 6.1 Simulator上 [英] Finished running <App> on iPhone 6.1 Simulator
问题描述
我正在使用Xcode(版本4.6(4H127))和iPhone 6.1模拟器(版本6.0(369.2))开发Iphone的新应用程序.
I'm developing a new application for Iphone, using Xcode (Version 4.6 (4H127)) and the iPhone 6.1 simulator (Versión 6.0 (369.2)).
一开始,一切都很棒:每当我按下运行"按钮时,该应用程序便被加载到模拟器中,并且能够对其进行测试.但是有时它不起作用:当我按下运行按钮时,我只会收到消息在iPhone 6.1 Simulator上运行已完成".该代码成功编译(仅次要警告).
At the beginning everything was great: every time I pressed the "run" button, the application was loaded into the simulator and I was able to test it. But sometimes it is not working: when I press the run button, I only get the message "Finished running on iPhone 6.1 Simulator". The code successfully compiles (only minor warnings).
主要问题是,当我收到此消息时,可以再次使用模拟器的唯一方法(在该项目中,其余的xcode项目似乎正常工作)是开始一个新项目并将每个文件添加到它.
The main problem is that when I get this message, the only way I can use the simulator again (in this project, the rest of the xcode projects seems to work properly) is by starting a new project and adding every file to it.
我尝试删除派生数据,重新启动模拟器,重新启动计算机等.即使我在模拟器运行时制作了快照,但是当我回到快照状态时,模拟器仍然不起作用工作.
I've tried to delete de derived data, restart de simulator, restart de computer, etc. Even I made a snapshot when the simulator was working, but when I go back to the snapshot state, the simulator still don't work.
我该怎么办?有什么主意吗?
What can I do? Any idea?
推荐答案
1.手动启动iOS模拟器.
1.Manually launch the iOS Simulator.
2.从"iOS Simulator"菜单中,单击"重置内容和设置",
2.From the "iOS Simulator" menu, click "Reset content and settings",
3.关闭并重建您的应用.
3.Close and rebuild your app.
这篇关于完成运行< App>在iPhone 6.1 Simulator上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!