iOS   发布时间:2022-05-04  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了ios – 打开故事板时xcode 9崩溃大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

概述

打开故事板时,XCode 9 GM Candidate 1正在崩溃. ProductBuildVersion:9A235 UNCAUGHT EXCEPTION (NSInternalInconsistencyException): Could not find class named UIImage UserInfo: (null) Hints: 0: replacement view is
打开故事板时,XCode 9 GM Candidate 1正在崩溃.

ProductBuildVersion:9A235

UNCAUGHT EXCEPTION (NSInternalInconsistencyException): Could not find class named UIImage
UserInfo: (null)
Hints: 
  0: replacement view is installing: <IBStoryboardCanvasViewController: 0x7fdf6d7f7d70 represenTing: (null)>

解决方法

对我来说,在我的应用程序中打开任何故事板或xib时崩溃了.我创建了一个新的单一视图应用程序项目,没有问题打开它的故事板,重新打开我自己的项目 – 它开始像往常一样打开故事板和xibs.可能是某种缓存问题..

以下是我遇到的崩溃的详细信息:

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000,0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
Sending _openAs: to <IDEDocumentController: 0x7f944580a970> from <NSMenuItem: 0x7f94249528d0 Interface Builder - Storyboard>
ProductBuildVersion: 9A235
ASSERTION FAILURE in /Library/Caches/com.apple.xbs/sources/IDEInterfaceBuilder/IDEInterfaceBuilder-13196/InterfaceBuilderKit/IssueProvider/IBIssueProvider.m:72
Details:  castedInstance should be an instance inheriTing from Ibdocument,but it is IDEPegasussourceEditor.sourceCodeDocument
Object:   <IBIssueProvider: 0x7f94366a73d0>
Method:   -updatedIssuesForDocument:

我遇到的另一次崩溃,并以相同的方式修复:

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000,0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
Sending openClickedNavigableItemAction: to <IDEStructureNavigator: 0x7ff718acde20 represenTing: <DVTExtension 0x7ff70acf22e0: Structure Navigator (Xcode.IDEKit.Navigator.StructurE) v0.1 from com.apple.dt.IDEKit>> from <IDENavigatorOutlineView: 0x7ff7169ba340>
ProductBuildVersion: 9A235
ASSERTION FAILURE in /Library/Caches/com.apple.xbs/sources/IDEFrameworks/IDEFrameworks-13247/IDEKit/Editor/IDEEditorContext.m:1935
Details:  Unexpected document in IDEDocumentController:<IBXIbdocument: 0x7ff6fb013a00>(  0   -[IDEEditorDocument init] (in IDEKit)

大佬总结

以上是大佬教程为你收集整理的ios – 打开故事板时xcode 9崩溃全部内容,希望文章能够帮你解决ios – 打开故事板时xcode 9崩溃所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。