Xcode 11 crashes pasting into storyboards

In Xcode 11, more or less every time I paste anything within a storyboard or between storyboards, Xcode just crashes immediately and disappears. This is maddening! I am having to open my storyboards as source code and copy and paste storyboard source code to get anything done.


HELP!!!!




Process: Xcode [12387]

Path: /Applications/Xcode.app/Contents/MacOS/Xcode

Identifier: com.apple.dt.Xcode

Version: 11.1 (15405)

Build Info: IDEFrameworks-15405000000000000~13

App Item ID: 497799835

App External ID: 832925179

Code Type: X86-64 (Native)

Parent Process: ??? [1]

Responsible: Xcode [12387]

User ID: 501



Date/Time: 2019-10-08 12:21:15.460 -0700

OS Version: Mac OS X 10.14.6 (18G95)

Report Version: 12

Anonymous UUID: 8967D6E4-F1E4-9D20-1755-68A7BBF92209



Sleep/Wake UUID: 8693B525-37F4-4B51-A912-659C8D348576



Time Awake Since Boot: 380000 seconds

Time Since Wake: 340000 seconds



System Integrity Protection: enabled



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



Exception Type: EXC_CRASH (SIGABRT)

Exception Codes: 0x0000000000000000, 0x0000000000000000

Exception Note: EXC_CORPSE_NOTIFY



Application Specific Information:

Sending paste: to IBStoryboardOutlineViewController from <NSMenuItem: 0x7f99f6c6e290 Paste>

ProductBuildVersion: 11A1027

ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEInterfaceBuilder/IDEInterfaceBuilder-15400/InterfaceBuilderKit/WidgetIntegration/View/IBViewIntegration.m:2451

Details: There should only be 1 parent of all the constraint items extracted from the pasteboard: {(

)}

Object: <IBUILabel: 0x7f99f34f4360>

Method: -ibDidExtractObjects:fromPasteboard:intoDocument:context:

Thread: <NSThread: 0x7f9a1541b620>{number = 1, name = main}

Hints:

0: Sending paste: to IBStoryboardOutlineViewController from <NSMenuItem: 0x7f99f6c6e290 Paste>

Backtrace:

0 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in IDEKit)

1 _DVTAssertionHandler (in DVTFoundation)

2 _DVTAssertionFailureHandler (in DVTFoundation)

3 -[NSView(IBViewIntegration) ibDidExtractObjects:fromPasteboard:intoDocument:context:] (in IDEInterfaceBuilderKit)

4 -[IBUIView(IBUIViewIntegration) ibDidExtractObjects:fromPasteboard:intoDocument:context:] (in IDEInterfaceBuilderCocoaTouchIntegration)

5 -[IBDocument ibDidExtractObjects:fromPasteboard:context:] (in IDEInterfaceBuilderKit)

6 -[IBDocument insertObjectsFromPasteboard:ofType:asChildrenOfObject:atIndex:context:finishExtractingObjectsBlock:] (in IDEInterfaceBuilderKit)

7 -[IBDocument insertOrMoveChildrenFromPasteboard:ofType:asChildrenOfObject:atIndex:context:finishExtractingObjectsBlock:] (in IDEInterfaceBuilderKit)

8 -[IBDocument addOrMoveChildrenFromPasteboard:ofType:toObject:context:finishExtractingObjectsBlock:] (in IDEInterfaceBuilderKit)

9 -[IBDocument addOrMoveChildrenFromPasteboard:ofType:toObject:context:] (in IDEInterfaceBuilderKit)

10 IBWrapAndInsertPasteboardObjectsIntoToManyRelation (in IDEInterfaceBuilderKit)

11 IBInsertPasteboardObjectsIntoToManyRelation (in IDEInterfaceBuilderKit)

12 -[NSView(IBViewIntegration) ibAcceptContentsOfPasteboard:inDocument:insertionContext:] (in IDEInterfaceBuilderKit)

13 -[NSView(IBAppKitViewIntegration) ibSwizzledNSViewAcceptContentsOfPasteboard:inDocument:insertionContext:] (in IDEInterfaceBuilderCocoaIntegration)

14 -[IBDFRSupportSwizzledMethodContainer ibDFRSwizzledAcceptContentsOfPasteboard:inDocument:insertionContext:] (in IDEInterfaceBuilderDFRSupport)

15 -[IBUIView(IBUIViewIntegration) ibAcceptContentsOfPasteboard:inDocument:insertionContext:] (in IDEInterfaceBuilderCocoaTouchIntegration)

16 -[IBStoryboardOutlineViewController tellObject:toAcceptPasteboard:withContext:selectNewChildren:] (in IDEInterfaceBuilderKit)

17 -[IBOutlineViewController performPaste] (in IDEInterfaceBuilderKit)

18 -[NSApplication(NSResponder) sendAction:to:from:] (in AppKit)

19 __37-[DVTApplication sendAction:to:from:]_block_invoke.86 (in DVTKit)

20 DVTInvokeWithFailureHint (in DVTFoundation)

21 -[DVTApplication sendAction:to:from:] (in DVTKit)

22 -[NSMenuItem _corePerformAction] (in AppKit)

23 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] (in AppKit)

24 -[NSMenu performKeyEquivalent:] (in AppKit)

25 routeKeyEquivalent (in AppKit)

26 -[NSApplication(NSEvent) sendEvent:] (in AppKit)

27 -[IDEApplication sendEvent:] (in IDEKit)

28 -[NSApplication run] (in AppKit)

29 NSApplicationMain (in AppKit)

30 main (in Xcode)

31 start (in libdyld.dylib)


Performing @selector(paste:) from sender NSMenuItem 0x7f99f6c6e290

abort() called

Replies

i have the same issue. it happened, then I restarted the macbook pro and it worked once... when I tried it again, it crashed again. I tried a simple copy of a view controller on the same storyboard, and it crashed...

How can we do production level work on something so unstable.

I also have a nagging codesign error that fails my builds about 30 percent of the time, and that gets up to 100%, and a shut down of xcode tends to make a little better temporarily.

I wish someone would make sure they don't break things before adding new stuff.

I have the same issue on iMac Late(2015).
But when I try the same project in different macbook pro it works !!!

I have the same problem.

Same problem. I apple testing thing before launch? I guess we are the testers.... I wish they could step up the game! This is not developper friendly or stable at all. WAKE UP APPLE!!!!!!

Make sure the problem is not (at least partly) on your side…


Did you perform the clean build forlder, as suggested in another thread ?