相关疑难解决方法(0)

无法打开storyboard(com.apple.InterfaceBuilder错误-1.)

在几个开发人员在我们的某个应用程序中处理故事板后,我们现在在尝试在Xcode Interface Builder中打开故事板时收到此错误:

无法打开文档"MainStoryboard_iPhone.storyboard".该操作无法完成.(com.apple.InterfaceBuilder错误-1.)

检查控制台日志以获取其他信息.

我们都在运行最新版本的Xcode(4.6.2 4H1003),并且所有更改都是在Interface Builder中对故事板进行的.控制台日志中没有显示其他信息.我假设错误是指同一个控制台日志,其中显示日志和调试语句,这是完全空的.

当我尝试在我正在处理的另一个应用程序中打开故事板时,其中一个开发人员收到同样的错误.这个故事板在我的计算机上可以在Xcode中打开,但是我们从不打扰在当时更多地查看错误(这是几个月前的第一次).但是这一次,我们都得到了同样的错误(我们中的4个人已经测试过在我们自己的计算机上打开它).

我们使用GitHub来管理两个项目的源代码控制,使用几个不同的Git客户端.有关导致此错误的原因以及如何解决此问题的任何想法?

更新:这是尝试打开故事板后计算机上/var/logs/system.log的输出:

Jun  5 16:38:44 my-computer-host-name Xcode[271]: Exception raised while unarchiving document objects - *** -[__NSArrayM insertObject:atIndex:]: object cannot be nil
Jun  5 16:38:45 my-computer-host-name Xcode[271]: [MT] DVTAssertions: Warning in /SourceCache/IDEKit/IDEKit-2113/Framework/Classes/Editor/IDEEditorDocument.m:1364
    Details:  Message sent to invalidated IBStoryboardDocument instance <IBStoryboardDocument: 0x40ecc34c0>. Backtrace for invalidation:
       0  0x000000010d814f86 -[IDEEditorDocument _invalidate] (in IDEKit)
      1  0x000000010d883291 -[IDEEditorDocument initForURL:withContentsOfURL:ofType:error:] (in IDEKit)
      2  0x00000001103005d0 -[IBDocument initForURL:withContentsOfURL:ofType:error:] (in IDEInterfaceBuilderKit)
      3  0x000000010d882efd +[IDEDocumentController _newEditorDocumentWithClass:forURL:withContentsOfURL:ofType:extension:error:] (in IDEKit)
      4  0x000000010d882dba -[IDEEditorContext …
Run Code Online (Sandbox Code Playgroud)

xcode interface-builder storyboard

8
推荐指数
2
解决办法
6903
查看次数

标签 统计

interface-builder ×1

storyboard ×1

xcode ×1