XCODE 5 中的 IBTOOL 错误 255/在 XCODE 4 中工作正常 [英] IBTOOL error 255 in XCODE 5 / work fine in XCODE 4

查看:27
本文介绍了XCODE 5 中的 IBTOOL 错误 255/在 XCODE 4 中工作正常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在 XCODE 5 中打开并编译我的项目,但我遇到了一个问题.IBTOOLS 错误 255. 有没有人有修复的想法?我尝试了 StackOverFlow 的所有答案,但对这种情况没有任何好处.

I want to open and compil my project in XCODE 5 and i have an issue. IBTOOLS error 255. Does anybody have a idea for fix ? I try all the answered of StackOverFlow, but nothing was good for the case.

亚历克斯.

    CompileStoryboard Safetracer/MainStoryboard.storyboard
    cd /Users/alexandrepestre/Documents/ThinkMyApp/Lixao/Safetracer
    setenv IBSC_MINIMUM_COMPATIBILITY_VERSION 6.1
    setenv PATH "/Applications/Xcode 2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode 2.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    setenv XCODE_DEVELOPER_USR_PATH "/Applications/Xcode 2.app/Contents/Developer/usr/bin/.."
    /Applications/Xcode\ 2.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --minimum-deployment-target 6.1 --output-format human-readable-text --compile /Users/alexandrepestre/Library/Developer/Xcode/DerivedData/Safetracer-bdnzaaahcuqikggnpqlvwvrsbddt/Build/Products/Debug-iphoneos/safetracer.app/MainStoryboard.storyboardc /Users/alexandrepestre/Documents/ThinkMyApp/Lixao/Safetracer/Safetracer/MainStoryboard.storyboard

2013-09-13 16:07:15.433 ibtoold[4775:707] [MT] DVTAssertions: Warning in /SourceCache/IDEInterfaceBuilderCocoaTouch/IDEInterfaceBuilderCocoaTouch-3742/IBPlugin/Documents/IBStoryboardMetricsInferrer.m:324
Details:  Failed to push inherited simulated metrics to all scenes.
Object:   <IBStoryboardMetricsInferrer: 0x7f969aab4ad0>
Method:   -rebuildInferredMetrics
Thread:   <NSThread: 0x7f9699c191b0>{name = (null), num = 1}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2013-09-13 16:07:19.057 ibtoold[4775:707] [MT] DVTAssertions: Warning in /SourceCache/IDEInterfaceBuilderCocoaTouch/IDEInterfaceBuilderCocoaTouch-3742/IBPlugin/Documents/IBStoryboardMetricsInferrer.m:324
Details:  Failed to push inherited simulated metrics to all scenes.
Object:   <IBStoryboardMetricsInferrer: 0x7f969dacc750>
Method:   -rebuildInferredMetrics
Thread:   <NSThread: 0x7f9699c191b0>{name = (null), num = 1}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2013-09-13 16:07:30.797 ibtoold[4775:707] [MT] DVTAssertions: ASSERTION FAILURE in /SourceCache/IDEInterfaceBuilderCocoaTouch/IDEInterfaceBuilderCocoaTouch-3742/IBPlugin/Utilities/IBObjectMarshalling.m:670
Details:  Failed to compile nib consisting of IBProxyObject, IBProxyObject, IBProxyObject, IBProxyObject, IBUIButton, IBUIButton, IBUIButton, IBUIButton, IBUIButton, IBUIImageView, IBUIImageView, IBUIImageView, IBUIImageView, IBUIImageView, IBUILabel, IBUILabel, IBUILabel, IBUILabel, IBUILabel, IBUILabel, IBUILabel, IBUILabel, IBUILabel, IBUILabel, IBUILabel, and IBUIView.

Interface Builder encountered an error communicating with the iOS Simulator. If you choose to file a crash report or radar for this issue, please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" and include their content in your crash report.

Exception name: NSInvalidArgumentException
Exception reason: NSConcreteAttributedString initWithString:: nil value
Exception backtrace:
  0. CoreFoundation           0x0226e5c8 __exceptionPreprocess
  1. libobjc.A.dylib          0x01fed8b6 objc_exception_throw
  2. CoreFoundation           0x0226e3bb +
  3. Foundation               0x01be48c0 -
  4. Foundation               0x01be4761 -
  5. UIKit                    0x00ee50f6 -
  6. UIKit                    0x00ee54c7 -
  7. UIKit                    0x0112fa96 -
  8. UIKit                    0x011303e3 -
  9. UIKit                    0x0112f6b4 -
 10. UIKit                    0x0112fa96 -
 11. UIKit                    0x011303e3 -
 12. UIKit                    0x00d8995b -
 13. UIKit                    0x0112fa96 -
 14. UIKit                    0x011303e3 -
 15. UIKit                    0x0112f6b4 -
 16. UIKit                    0x0112fa96 -
 17. UIKit                    0x011303e3 -
 18. ???                      0x00014c80
 19. ???                      0x00014e4e
 20. ???                      0x00015363
 21. ???                      0x00007565
 22. IBFoundation             0x00360701 __72-[IBMessageReceiveChannel deliverMessage:toTarget:withArguments:result:]_block_invoke
 23. IBFoundation             0x00360446 -
 24. IBFoundation             0x00360123 __80-[IBMessageReceiveChannel runBlockingReceiveLoopNotifyingQueue:notifyingTarget:]_block_invoke
 25. libdispatch.dylib        0x029c3444 _dispatch_barrier_sync_f_slow_invoke
 26. libdispatch.dylib        0x029d44b0 _dispatch_client_callout
 27. libdispatch.dylib        0x029c2766 _dispatch_main_queue_callback_4CF
 28. CoreFoundation           0x022d3a5e __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
 29. CoreFoundation           0x0221472b __CFRunLoopRun
 30. CoreFoundation           0x02213b33 CFRunLoopRunSpecific
 31. CoreFoundation           0x0221394b CFRunLoopRunInMode
 32. Foundation               0x01c23c05 -
 33. ???                      0x00036b67
 34. ???                      0x00036c62
 35. ???                      0x00036dc7
 36. ???                      0x0000c20e
 37. libdyld.dylib            0x95727725 start
Exception info:{
}

Function: void IBAssertMarshallingFailure(NSString *__strong, NSString *__strong)
Thread:   <NSThread: 0x7f9699c191b0>{name = (null), num = 1}
Hints: None
Backtrace:
  0  0x000000010d20ff2a -[DVTAssertionHandler handleFailureInFunction:fileName:lineNumber:messageFormat:arguments:] (in DVTFoundation)
  1  0x000000010d20f684 _DVTAssertionHandler (in DVTFoundation)
  2  0x000000010d20f984 _DVTAssertionFailureHandler (in DVTFoundation)
  3  0x0000000112774df6 IBAssertMarshallingFailure (in IDEInterfaceBuilderCocoaTouchIntegration)
  4  0x000000011285b59a (in IDEInterfaceBuilderCocoaTouchIntegration)
  5  0x000000011285ba0d (in IDEInterfaceBuilderCocoaTouchIntegration)
  6  0x000000011286b445 (in IDEInterfaceBuilderCocoaTouchIntegration)
  7  0x000000011286f4b0 (in IDEInterfaceBuilderCocoaTouchIntegration)
  8  0x000000011287063e (in IDEInterfaceBuilderCocoaTouchIntegration)
  9  0x000000010c64c40a IBWithAutoInvalidationPool (in IDEInterfaceBuilderKit)
 10  0x0000000112870363 (in IDEInterfaceBuilderCocoaTouchIntegration)
 11  0x0000000112856316 (in IDEInterfaceBuilderCocoaTouchIntegration)
 12  0x000000011285683c (in IDEInterfaceBuilderCocoaTouchIntegration)
 13  0x000000010c39b2fe __47-[IBDocument compiledPackageWithOptions:error:]_block_invoke (in IDEInterfaceBuilderKit)
 14  0x000000010c3be250 -[IBDocument assertIfArbitrationIsScheduledDuring:] (in IDEInterfaceBuilderKit)
 15  0x000000010c39b272 -[IBDocument compiledPackageWithOptions:error:] (in IDEInterfaceBuilderKit)
 16  0x000000010c17c757 (in ibtoold)
 17  0x000000010c17fc21 (in ibtoold)
 18  0x000000010c18a23d (in ibtoold)
 19  0x000000010c18a781 (in ibtoold)
 20  0x000000010c18a654 (in ibtoold)
 21  0x000000010c188ade (in ibtoold)
 22  0x000000010c189eb2 (in ibtoold)
 23  0x000000010c189610 (in ibtoold)
 24  0x00007fff8be7a7e1 start (in libdyld.dylib)
 25  0x0000000000000001
Command /Applications/Xcode 2.app/Contents/Developer/usr/bin/ibtool failed with exit code 255
e

推荐答案

似乎 ibtool 无法处理使用早期 xcode 版本创建的故事板,其中 UILabel 上的 text 属性可以省略.最简单的修复方法是在您选择的编辑器中打开故事板并添加缺少的文本属性 text="".

It appears that ibtool is not able to handle a storyboard created with an earlier xcode version where the text attribute can be omitted on a UILabel. Easiest way to fix is to open the storyboard in your editor of choice and add the missing text attributes, text="".

这篇关于XCODE 5 中的 IBTOOL 错误 255/在 XCODE 4 中工作正常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆