crash - Xcode 6.1 crashes whenever I use Interface Builder -
nothing works. open interface builder on multiple different projects, cause crash. same exception. tried various solutions suggested on google & so, such clearing derived folder (i cleared whole ~/library/developer/xcode/*
tree still nothing). i'm lost, , it's halting development me.
i opened support ticket on developer.apple.com, haven't gotten reply yet (been 4-5 days now).
process: xcode [10292] path: /applications/xcode.app/contents/macos/xcode identifier: com.apple.dt.xcode version: 6.1 (6604) build info: ideframeworks-6604000000000000~2 app item id: 497799835 app external id: 752282650 code type: x86-64 (native) parent process: ??? [1] responsible: xcode [10292] user id: 501 date/time: 2014-11-27 11:48:15.688 +0200 os version: mac os x 10.10.1 (14b25) report version: 11 anonymous uuid: f1e42fb4-8cfc-e112-4f9a-3286a610d4a0 sleep/wake uuid: 817ab1fe-f61f-4359-a845-094095ff399a time awake since boot: 70000 seconds time since wake: 4700 seconds crashed thread: 0 dispatch queue: com.apple.main-thread exception type: exc_crash (sigabrt) exception codes: 0x0000000000000000, 0x0000000000000000 application specific information: productbuildversion: 6a1052d assertion failure in /sourcecache/ideinterfacebuilder/ideinterfacebuilder-6250/interfacebuilderkit/document/ibdocument.m:5597 details: pasteboard doesn't have data type: ibnsobjectpbtype! object: <ibxibdocument: 0x7fcbb65d9200> method: -insertobjectsfrompasteboard:oftype:aschildrenofobject:atindex:context:finishextractingobjectsblock: thread: <nsthread: 0x7fcbb3c389e0>{number = 1, name = main} hints: none backtrace: 0 0x00000001024199ea -[ideassertionhandler handlefailureinmethod:object:filename:linenumber:assertionsignature:messageformat:arguments:] (in idekit) 1 0x00000001011d7d1f _dvtassertionhandler (in dvtfoundation) 2 0x00000001011d800e _dvtassertionfailurehandler (in dvtfoundation) 3 0x000000010b2afcc8 -[ibdocument insertobjectsfrompasteboard:oftype:aschildrenofobject:atindex:context:finishextractingobjectsblock:] (in ideinterfacebuilderkit) 4 0x000000010b2af253 -[ibdocument insertobjectsfrompasteboard:oftype:aschildrenofobject:atindex:context:] (in ideinterfacebuilderkit) 5 0x000000010b2b0f1d -[ibdocument decodepasteboardcontent:oftype:forinsertioninto:usingdocumentclass:anddocumenttype:context:] (in ideinterfacebuilderkit) 6 0x000000010b2b23f7 __86-[ibdocument documentwithpasteboardcloneofobjects:documentclass:documenttype:context:]_block_invoke (in ideinterfacebuilderkit) 7 0x000000010b1b9a34 +[nspasteboard(ibpasteboardadditions) invokewithtemporarypasteboard:] (in ideinterfacebuilderkit) 8 0x000000010b2b22e0 -[ibdocument documentwithpasteboardcloneofobjects:documentclass:documenttype:context:] (in ideinterfacebuilderkit) 9 0x000000010ffc5ecc -[nsobject(ibcocoaautolayoutengineadditions) ibcopyobjecthierarchyforlayoutengine:synchronousdidcopycallback:] (in ideinterfacebuildercocoaintegration) 10 0x000000010ffc6f5f -[nswindowtemplate(ibcocoaautolayoutengineadditions) ibwindowwithcopiedviewhierarchysnapshotforlayoutengine:returningaddedrepresentedconstraintsforrepresentedviews:] (in ideinterfacebuildercocoaintegration) 11 0x000000010ffc761b -[ibcocoaautolayoutengine prepareviewhierarchyandreturnaddedrepresentedconstraintsforrepresentedviews] (in ideinterfacebuildercocoaintegration) 12 0x00000001075fa556 -[ibautolayoutengine initwitharbitrationunit:options:] (in ibautolayoutfoundation) 13 0x000000010ffc7538 -[ibcocoaautolayoutengine initwitharbitrationunit:options:] (in ideinterfacebuildercocoaintegration) 14 0x0000000107603422 -[ibautolayoutframedecisiondriver initwitharbitrationunit:initialstatus:options:] (in ibautolayoutfoundation) 15 0x000000010b1dda80 -[ibautolayoutframedecider initwitharbitrationunit:driveroptions:delegate:statusinitializationblock:] (in ideinterfacebuilderkit) 16 0x000000010b1de170 +[ibautolayoutframedecider decideandsetframesofallviewhierarchieswithlayoutinfo:delegate:statusinitializationblock:] (in ideinterfacebuilderkit) 17 0x000000010b2d31e9 -[ibdocumentautolayoutmanager runblockinnewarbitrationstackentrywithbehavior:block:] (in ideinterfacebuilderkit) 18 0x000000010b2ba1f7 -[ibdocument modifyviewsinautolayoutsafewaywithoutupdatingconstraintsduring:] (in ideinterfacebuilderkit) 19 0x000000010b310670 -[ibdocumentverifier verifyviewshavecorrectframes] (in ideinterfacebuilderkit) 20 0x000000010b30d2ed -[ibdocumentverifier verificationdidfinish] (in ideinterfacebuilderkit) 21 0x000000010b30d008 -[ibdocumentverifier performverification] (in ideinterfacebuilderkit) 22 0x000000010b2ac610 -[ibdocument performverification] (in ideinterfacebuilderkit) 23 0x000000010b280da2 __39-[ibdocument readfromurl:oftype:error:]_block_invoke_2 (in ideinterfacebuilderkit) 24 0x000000010b2de6e0 -[ibdocumentautolayoutmanager donotsynchronouslycomputeautolayoutstatuswhileperformingblock:] (in ideinterfacebuilderkit) 25 0x000000010b280bc1 __39-[ibdocument readfromurl:oftype:error:]_block_invoke (in ideinterfacebuilderkit)
it has autolayout.
1- right click storyboard file -> open -> source code find , remove useautolayout="yes"
2- right click storyboard file -> open -> interface builder
this worked in case, however, i'm unable autolayout work :)
please refer answer: https://stackoverflow.com/a/26474823/1231121
edit 1:
after many tries , searches managed resolved by:
1- remove xcode.app (from terminal sudo rm -rf /applications/xcode.app/)
2- install again
3- restarted mbp
then work expected.
edit 2:
it happened again, mac restart resolved it!
Comments
Post a Comment