xcode iOS模拟器启动黑屏出现

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/19218757/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 04:01:57  来源:igfitidea点击:

iOS Simulator launching Black screen Appear

iosxcodeios-simulator

提问by rajesh57

enter image description here

在此处输入图片说明

xcode 4.6 and Ios simulator version 6.1

xcode 4.6 和 Ios 模拟器版本 6.1

run the projects given error occurred following Scenarios not worked

运行项目,因为在场景不起作用后发生错误

1.change the debugger from LLDB to GDB.

1. 将调试器从 LLDB 更改为 GDB。

given message appear in xcode:

给定的消息出现在 xcode 中:

GNU gdb 6.3.50-20050815 (Apple version gdb-1824) (Thu Nov 15 10:42:43 UTC 2012) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-apple-darwin".

GNU gdb 6.3.50-20050815(Apple 版本 gdb-1824)(2012 年 11 月 15 日星期四 10:42:43 UTC) 版权所有 2004 Free Software Foundation, Inc. GDB 是自由软件,受 GNU 通用公共许可证保护,您是欢迎在某些条件下更改它和/或分发它的副本。输入“show copying”以查看条件。GDB 绝对没有保修。输入“显示保修”了解详情。这个 GDB 被配置为“x86_64-apple-darwin”。

2.Delete derived Data given path

2.删除给定路径的派生数据

~/Library/Application Support/iPhone Simulator/6.1/Applications and ~/Library/Developer/Xcode/DerivedData

~/Library/Application Support/iPhone Simulator/6.1/Applications 和 ~/Library/Developer/Xcode/DerivedData

my system only available in following folder path:

我的系统仅在以下文件夹路径中可用:

~/Library/Application Support/iPhone Simulator/6.1/

〜/库/应用程序支持/iPhone模拟器/6.1/

3.try to iOS Simulator option reset to reset content and settings

3.尝试重置iOS模拟器选项以重置内容和设置

回答by dpointeck

I had the same problem. For me it was, that I forgot to set my storyboard as the main interface in the project editor.

我有同样的问题。对我来说,我忘记将故事板设置为项目编辑器的主界面。

回答by Abdullah Alhattami

Try this ..

尝试这个 ..

  1. Reset your simulator.
  2. Product -> Clean.
  1. 重置模拟器。
  2. 产品 -> 清洁。

enter image description here

在此处输入图片说明

This has worked for me.

这对我有用。

回答by capikaw

I had the same issue. Resetting simulator did nothing and closing xcode also did nothing. Solved by simply rebooting my computer.

我遇到过同样的问题。重置模拟器什么也没做,关闭 xcode 也什么也没做。只需重新启动计算机即可解决。

回答by Bhoopi

Just reset your simulator's content.enter image description here

只需重置模拟器的内容。在此处输入图片说明

Then reset your xcode.

然后重置你的xcode。

Make sure, reset current using simulator.

确保使用模拟器重置电流。

回答by manujmv

First You go to the Product->Scheme->Manage Scheme. Now you need to delete all the schemes you created. Now just click on Autocreate Scheme Now. Just clean your project and reset the simulator and Try this.

首先你去产品->方案->管理方案。现在您需要删除您创建的所有方案。现在只需单击Autocreate Scheme Now。只需清理您的项目并重置模拟器并尝试这个。

回答by Aleksander Niedziolko

Only thing that worked for me was a deep build clean. Cmd-Alt-shift-K

唯一对我有用的是深度构建清洁。Cmd-Alt-shift-K