简体   繁体   English

iPhone模拟器未重置其内容。如何重置?

[英]Iphone simulator not reset it's content.How to reset it?

I'm using xcode 8 it works fine but when I try to reset simulator using 我正在使用xcode 8,它工作正常,但是当我尝试使用以下方法重置模拟器时

In the iOS Simulator, press iOS Simulator in the menu at the top of the screen, 
and press 'Reset Content and Settings...'. This should clear the entire simulator.But it gives below error.

快拍2

Then i try using Terminal and get same error like below 然后我尝试使用终端并得到如下相同的错误

快照1

Please help me with this issue thanks in advance. 请提前帮助我解决此问题。

May be its not the answer you expect, However it will help you when you not get proper answer. 可能不是您期望的答案,但是当您找不到正确答案时,它会为您提供帮助。

Delete that simulator from Xcode-> Window-> Devices and add new simulator of same target. 从Xcode-> Window-> Devices删除该模拟器,并添加相同目标的新模拟器。 I hope may be it will work like we reset the simulator. 我希望它可以像我们重置模拟器一样工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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