Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Random ibtool crash - "Command /Developer/usr/bin/ibtool failed with exit code 255"

I am building an iOS project with Xcode 5.0.2,

sometimes the build works fine, but sometimes it throws when compiling xib

"Command /Developer/usr/bin/ibtool failed with exit code 255"


06:49:34 CompileXIB XXXX.xib

06:49:36 2014-02-03 06:49:36.663 ibtoold[7565:707] [MT] DVTAssertions: ASSERTION FAILURE in /SourceCache/IDEInterfaceBuilderCocoaTouch/IDEInterfaceBuilderCocoaTouch-3747/I BPlugin/Utilities/IBObjectMarshalling.m:670

06:49:36 Details: Failed to run one shot request for IBLayoutConstraint, IBUIButton, IBUICollectionView, IBUIImageView, IBUILabel, IBUIPageControl, and IBUIView.

06:49:36

06:49:36 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.

06:49:36

06:49:36 Exception name: The operation couldn’t be completed. Broken pipe

06:49:36 Exception reason: Broken pipe

06:49:36 Exception backtrace:

06:49:36 (null)

06:49:36 Exception info:{

06:49:36 IBUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=32 \"The operation couldn\U2019t be completed. Broken pipe\"";

06:49:36 }

06:49:36

06:49:36 Function: void IBAssertMarshallingFailure(NSString *__strong, NSString *__strong)

06:49:36 Thread: <NSThread: 0x7f92f0419210>{name = (null), num = 1}

06:49:36 Hints: None

06:49:36 Backtrace:

06:49:36 0 0x000000010cc8507a -[DVTAssertionHandler handleFailureInFunction:fileName:lineNumber:messageFormat:arguments:] (in DVTFoundation)

06:49:36 1 0x000000010cc847d4 _DVTAssertionHandler (in DVTFoundation)

06:49:36 2 0x000000010cc84ad4 _DVTAssertionFailureHandler (in DVTFoundation)

06:49:36 3 0x0000000112b95986 IBAssertMarshallingFailure (in IDEInterfaceBuilderCocoaTouchIntegration)

06:49:36 4 0x0000000112cc8341 (in IDEInterfaceBuilderCocoaTouchIntegration)

06:49:36 5 0x0000000112cc8fb4 (in IDEInterfaceBuilderCocoaTouchIntegration)

06:49:36 6 0x0000000112cc937b (in IDEInterfaceBuilderCocoaTouchIntegration)

06:49:36 7 0x000000010c0adb85 -[IBAutolayoutFrameDecider propagateAllLayoutEngineFramesToCanvasForcingFramesForViewsInIllegalStatesPassi ngTest:] (in IDEInterfaceBuilderKit)

06:49:36 8 0x000000010c0acb92 +[IBAutolayoutFrameDecider decideAndSetFramesOfAllViewHierarchiesWithLayoutInfo:delegate:statusInitializat ionBlock:] (in IDEInterfaceBuilderKit)

06:49:36 9 0x000000010bde29c2 -[IBDocument decideAndSetFramesOfAllViewHierarchiesWithCurrentAutolayoutStatusAfterPerformin gBlock:] (in IDEInterfaceBuilderKit)

06:49:36 10 0x000000010bde27b9 __98-[IBDocument changeDocumentTargetRuntimeTo:andPerformFrameDecision:withContext:andContextFor Undo:]_block_invoke224 (in IDEInterfaceBuilderKit)

06:49:36 11 0x000000010be23c54 -[IBDocument runBlockInNewArbitrationStackEntryWithBehavior:block:] (in IDEInterfaceBuilderKit)

06:49:36 12 0x000000010bde2475 -[IBDocument changeDocumentTargetRuntimeTo:andPerformFrameDecision:withContext:andContextFor Undo:] (in IDEInterfaceBuilderKit)

06:49:36 13 0x0000000112c7c572 (in IDEInterfaceBuilderCocoaTouchIntegration)

06:49:36 14 0x0000000112c7c8dc (in IDEInterfaceBuilderCocoaTouchIntegration)

06:49:36 15 0x000000010be023ae __47-[IBDocument compiledPackageWithOptions:error:]_block_invoke (in IDEInterfaceBuilderKit)

06:49:36 16 0x000000010be25390 -[IBDocument assertIfArbitrationIsScheduledDuring:] (in IDEInterfaceBuilderKit)

06:49:36 17 0x000000010be02322 -[IBDocument compiledPackageWithOptions:error:] (in IDEInterfaceBuilderKit)

06:49:36 18 0x000000010bbdf757 (in ibtoold)

06:49:36 19 0x000000010bbe2c21 (in ibtoold)

06:49:36 20 0x000000010bbed23d (in ibtoold)

06:49:36 21 0x000000010bbed781 (in ibtoold)

06:49:36 22 0x000000010bbed654 (in ibtoold)

06:49:36 23 0x000000010bbebade (in ibtoold)

06:49:36 24 0x000000010bbeceb2 (in ibtoold)

06:49:36 25 0x000000010bbec610 (in ibtoold)

06:49:36 26 0x00007fff901e97e1 start (in libdyld.dylib)

06:49:41 Command /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool failed with exit code 255




1. It's not alway the same xib file, it may happen on any of them.

2. It happens on xcodebuild or click run in xcode

3. It happens on different machine, OS X 10.9 as well as 10.8

4. It goes away after a clean/reopen/retry, but keep coming back occassionally.


I tried

1. restart the server

2. clean re-install Xcode

3. reset simulator ( Could anybody give me some ideas why ibtool needs to communicate with iOS simulator? )


But they didn't help.


Saw some posts related to ibtool 255 error, seems that for them the issue stays there if not being addressed, but for me it just shows up randomly, which makes our daily build unstable,

Does anybody know how to solve this permanently, or anyone experienced the same thing?


Thanks in advance.


OS X Mountain Lion (10.8.5)

Posted on Feb 4, 2014 10:47 AM

Reply
3 replies

Random ibtool crash - "Command /Developer/usr/bin/ibtool failed with exit code 255"

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.