xcode 内部错误。请在 bugreport.apple.com 上提交错误并附上
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/33430113/
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
Internal error. Please file a bug at bugreport.apple.com and attach
提问by Chandan Reddy
Getting this errors when i build the application
构建应用程序时出现此错误
Main.storybord: Internal error. Please file a bug at bugreport.apple.com and attach "/var/folders/v5/4tnjcvds103g1y3tf1mnfv680000gn/T/IB-agent-diagnostics_2015-10-30_11-30-47_678000".
And
和
LaunchScreen.storyboard: Internal error. Please file a bug at bugreport.apple.com and attach all crash logs from ~/Library/Logs/DiagnosticReports.
Done all things Cleaning project, Quit Xcode Several times and also restarted the System, Still getting errors.
完成所有事情清理项目,退出Xcode几次并重新启动系统,仍然出现错误。
Any one got solution help me please ?
任何有解决方案的人请帮助我吗?
回答by Rohan
回答by Mokyz
I had same issue,
我有同样的问题,
Solution was: clearing out the DerivedData
folder.
Can be found in ~/Library/Developer/Xcode/DerivedData
解决方案是:清除DerivedData
文件夹。可以在 ~/Library/Developer/Xcode/DerivedData
That worked for me.
那对我有用。
回答by abdul sathar
I got the same issue when i have updated my launch screen into project.
当我将启动屏幕更新到项目时,我遇到了同样的问题。
I just do following things the issue got cleared.
我只是按照问题得到解决的事情做。
1.Get the back up of your source code.
1.获取源代码的备份。
2.Delete your LaunchScreen.storyboard file.
2.删除您的 LaunchScreen.storyboard 文件。
3.Pop up will appear and it will ask re save the storyboard file or close option,press close.
3.会出现弹窗,询问是否重新保存故事板文件或关闭选项,按关闭。
4.Just Add LaunchScreen.storyboard file into your current project from your back up source code.
4. 只需将 LaunchScreen.storyboard 文件从您的备份源代码添加到您当前的项目中。
5.Now clean then build , issue will cleared.
5.现在清理然后构建,问题将被清除。
回答by tiandabao
cmd+shift+k
cmd+ shift+k
cmd+option+shift+k
cmd+ option+ shift+k
All this is not work for me or for you????
这一切对我或你都不起作用????
Waring:You can do this
华林:你可以这样做
The reason is you download Simulators on the new Xcode, you must delete it!! the path is "/Library/Developer/CoreSimulator/Profiles/Runtimes"
原因是你在新的Xcode上下载了Simulators,必须删除!!路径是“/Library/Developer/CoreSimulator/Profiles/Runtimes”
For example your xcode version is Xcode 8.0, Now you download Xcode 9.0, You have two xcode, you download ios 10 Simulator on the Xcode 9.0, Then Xcode 8.0 will appear the Storyboard can't run, Because, Xcode 8.0 default Simulator is ios 10, Conflicted!!!
比如你的xcode版本是Xcode 8.0,现在你下载Xcode 9.0,你有两个xcode,你在Xcode 9.0上下载ios 10 Simulator,然后Xcode 8.0会出现Storyboard无法运行,因为,Xcode 8.0默认模拟器是ios 10、冲突!!!