打开旧的xib文件时,xcode 5.1崩溃

时间:2014-03-30 19:59:39

标签: xcode crash interface-builder xib

我有一个很久以前使用Xcode 4.x构建的应用程序。今天,我尝试更新应用程序,但Xcode给了我以下错误。

“Command /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ibtool失败,退出代码为255”

问题似乎与MainWindow.xib有关,因为当我尝试在Xcode中打开它时,它会崩溃。这是崩溃日志:

Process:         Xcode [4801]
Path:            /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier:      com.apple.dt.Xcode
Version:         5.1 (5084)
Build Info:      IDEFrameworks-5084000000000000~21
App Item ID:     497799835
App External ID: 444172641
Code Type:       X86-64 (Native)
Parent Process:  launchd [314]
Responsible:     Xcode [4801]
User ID:         502

Date/Time:       2014-03-30 12:52:21.937 -0700
OS Version:      Mac OS X 10.9.2 (13C64)
Report Version:  11
Anonymous UUID:  5F3D19A9-E9CE-6E7F-D1E6-13874A73646F

Sleep/Wake UUID: 94AB887F-E3ED-4944-92D6-E9C8274657DC

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

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

Application Specific Information:
ProductBuildVersion: 5B130a
ASSERTION FAILURE in /SourceCache/IDEInterfaceBuilderCocoaTouch/IDEInterfaceBuilderCocoaTouch-5038/InterfaceBuilder/WidgetIntegration/SimulatedMetrics/IBUISimulatedSizeMetrics.m:33
Details:  (initialTargetRuntime) should not be nil.
Object:   <IBUIFixedSimulatedSizeMetrics: 0x7f890bcc9090>
Method:   -initWithTargetRuntime:
Thread:   <NSThread: 0x7f891bc15b90>{name = (null), num = 1}
Hints:   None
Backtrace:
  0  0x0000000103275825 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in IDEKit)
  1  0x00000001020947a9 _DVTAssertionHandler (in DVTFoundation)
  2  0x0000000102094a8f _DVTAssertionFailureHandler (in DVTFoundation)
  3  0x000000010e0637c0 (in IDEInterfaceBuilderCocoaTouchIntegration)
  4  0x000000010e064047 (in IDEInterfaceBuilderCocoaTouchIntegration)
  5  0x000000010e06434a (in IDEInterfaceBuilderCocoaTouchIntegration)
  6  0x000000010e0acc4e (in IDEInterfaceBuilderCocoaTouchIntegration)
  7  0x000000010e0ac682 (in IDEInterfaceBuilderCocoaTouchIntegration)
  8  0x000000010e0ad33c (in IDEInterfaceBuilderCocoaTouchIntegration)
  9  0x000000010e04f3c8 (in IDEInterfaceBuilderCocoaTouchIntegration)

我在堆栈溢出时尝试了与此问题相关的所有内容,但没有任何补救措施解决了我的问题。

2 个答案:

答案 0 :(得分:0)

对我来说完全相同的问题。

最新的Xcode 查看特定Xib时,Xcode崩溃(MainWindow.xib)。

我已经研究过了。有人提到与多台计算机有关的自定义字体似乎没有解决我的问题。

答案 1 :(得分:0)

与Apple联系,并使用我的两份免费事件报告之一并寻求帮助。回复是提交错误报告!

我最终重新创建了xib。