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

Xcode 5 crash when adding object

During the creation of the interface error occurs (xcode crash).

When I try to add to the project objects (such as buttons) using drag and drop objects from the library, a crash occurs.


User uploaded file

Process:         Xcode [1839]
Path:            /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier:      com.apple.dt.Xcode
Version:         5.0 (3332.25)
Build Info:      IDEApplication-3332025000000000~2
Code Type:       X86-64 (Native)
Parent Process:  launchd [246]
Responsible:     Xcode [1839]
User ID:         501

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

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

Application Specific Information:
ProductBuildVersion: 5A1413
UNCAUGHT EXCEPTION (NSInvalidArchiveOperationException): Unable to produce TIFF data for bitmap NSBitmapImageRep 0x7fbd4a9a2710 Size={232, 31} ColorSpace=Device RGB colorspace BPS=8 BPP=32 Pixels=232x31 Alpha=YES Planar=NO Format=1 CurrentBacking=<CGImageRef: 0x7fbd4a867960>.  This is fatal for -[NSBitmapImageRep encodeWithCoder:].
UserInfo: (null)
Hints: None
Backtrace:
  0  0x00007fff8a74f404 __exceptionPreprocess (in CoreFoundation)
  1  0x000000010cfb6c23 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
  2  0x00007fff82c58e75 objc_exception_throw (in libobjc.A.dylib)
  3  0x00007fff8a74f2cc +[NSException raise:format:] (in CoreFoundation)
  4  0x00007fff8b344e2a -[NSBitmapImageRep encodeWithCoder:] (in AppKit)
  5  0x00007fff89e92427 _encodeObject (in Foundation)
  6  0x00007fff89e93a38 -[NSKeyedArchiver _encodeArrayOfObjects:forKey:] (in Foundation)
  7  0x00007fff89e935ff -[NSArray(NSArray) encodeWithCoder:] (in Foundation)
  8  0x00007fff89e92427 _encodeObject (in Foundation)
  9  0x00007fff89e93a38 -[NSKeyedArchiver _encodeArrayOfObjects:forKey:] (in Foundation)
 10  0x00007fff89e935ff -[NSArray(NSArray) encodeWithCoder:] (in Foundation)
 11  0x00007fff89e92427 _encodeObject (in Foundation)
 12  0x00007fff8b4c1fea __27-[NSImage encodeWithCoder:]_block_invoke534 (in AppKit)
 13  0x00007fff8af6f2c1 -[NSImage _usingRepProviderPerformBlock:] (in AppKit)
 14  0x00007fff8b4c1760 -[NSImage encodeWithCoder:] (in AppKit)
 15  0x00007fff89e92427 _encodeObject (in Foundation)
 16  0x000000011825495a (in IDEInterfaceBuilderCocoaTouchIntegration)
 17  0x00000001181cb891 (in IDEInterfaceBuilderCocoaTouchIntegration)
 18  0x00000001181bed9b (in IDEInterfaceBuilderCocoaTouchIntegration)
 19  0x00000001181c94b0 (in IDEInterfaceBuilderCocoaTouchIntegration)
 20  0x00007fff89e92427 _encodeObject (in Foundation)
 21  0x00007fff89e93a38 -[NSKeyedArchiver _encodeArrayOfObjects:forKey:] (in Foundation)
 22  0x00007fff89e935ff -[NSArray(NSArray) encodeWithCoder:] (in Foundation)
 23  0x00007fff89e92427 _encodeObject (in Foundation)
 24  0x0000000112415be5 -[IBObjectRecord encodeWithCoder:] (in IDEInterfaceBuilderKit)
 25  0x00007fff89e92427 _encodeObject (in Foundation)
 26  0x00007fff89e93a38 -[NSKeyedArchiver _encodeArrayOfObjects:forKey:] (in Foundation)
 27  0x00007fff89e935ff -[NSArray(NSArray) encodeWithCoder:] (in Foundation)
 28  0x00007fff89e92427 _encodeObject (in Foundation)
 29  0x000000010cf84109 -[DVTMutableOrderedSet encodeWithCoder:] (in DVTFoundation)
 30  0x00007fff89e92427 _encodeObject (in Foundation)
 31  0x0000000112404fb5 -[IBObjectContainer encodeObjectsWithCoder:] (in IDEInterfaceBuilderKit)
 32  0x0000000112406cd7 -[IBObjectContainer encodeWithCoder:] (in IDEInterfaceBuilderKit)
 33  0x00007fff89e92427 _encodeObject (in Foundation)
 34  0x00000001124101f5 -[IBObjectContainer(IBObjectContainerAdditions) dataRepresentationWithArchivingDelegate:context:] (in IDEInterfaceBuilderKit)
 35  0x0000000112412d22 -[IBObjectContainer(IBObjectContainerAdditions) addObjects:withTypes:onPasteboard:forOwner:withArchivingDelegate:context:] (in IDEInterfaceBuilderKit)
 36  0x0000000112413193 -[IBObjectContainer(IBObjectContainerAdditions) putObjects:onPasteboard:forOwner:withArchivingDelegate:context:] (in IDEInterfaceBuilderKit)
 37  0x0000000112370453 -[IBDocument putObjects:onPasteboard:forOwner:context:] (in IDEInterfaceBuilderKit)
 38  0x0000000112418453 -[IBEditorCanvasFrameController dragObjects:withImage:inMouseDownEvent:mouseDraggedEvent:imageLocation:allowedOperations:editor:draggingSourceContext:] (in IDEInterfaceBuilderKit)
 39  0x0000000112441653 -[IBViewEditorCanvasFrameController dragObjects:withImage:inMouseDownEvent:mouseDraggedEvent:imageLocation:allowedOperations:editor:draggingSourceContext:] (in IDEInterfaceBuilderKit)
 40  0x0000000112438fda __113-[IBEditor dragObjects:withImage:inMouseDownEvent:mouseDraggedEvent:imageLocation:allowedOperations:dragContext:]_block_invoke (in IDEInterfaceBuilderKit)
 41  0x000000011237fb14 -[IBDocument runBlockInNewArbitrationStackEntryWithBehavior:block:] (in IDEInterfaceBuilderKit)
 42  0x0000000112438c89 -[IBEditor dragObjects:withImage:inMouseDownEvent:mouseDraggedEvent:imageLocation:allowedOperations:dragContext:] (in IDEInterfaceBuilderKit)
 43  0x0000000112458c41 -[IBViewEditor dragSelectedViewsWithMouseDown:andMouseDragged:] (in IDEInterfaceBuilderKit)
 44  0x0000000112460d80 -[IBViewEditor interceptMouseDragged:] (in IDEInterfaceBuilderKit)
 45  0x000000011246195d -[IBViewEditor interceptEvent:] (in IDEInterfaceBuilderKit)
 46  0x0000000112423895 -[IBEditorCanvasFrameController sendEvent:] (in IDEInterfaceBuilderKit)
 47  0x0000000112441557 -[IBViewEditorCanvasFrameController sendEvent:] (in IDEInterfaceBuilderKit)
 48  0x00000001123de9fa -[IBEditorCanvasFrame mouseDragged:] (in IDEInterfaceBuilderKit)
 49  0x00007fff8b18af71 -[NSWindow sendEvent:] (in AppKit)
 50  0x00007fff8b12b744 -[NSApplication sendEvent:] (in AppKit)
 51  0x000000010e02c75b -[IDEApplication sendEvent:] (in IDEKit)
 52  0x00007fff8af7ba29 -[NSApplication run] (in AppKit)
 53  0x00007fff8af66803 NSApplicationMain (in AppKit)
 54  0x00007fff8bcc75fd start (in libdyld.dylib)

abort() called

OS X Mavericks (10.9.1)

Posted on Feb 18, 2014 2:15 PM

Reply
1 reply

Xcode 5 crash when adding object

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