Xcode 8 beta quits when reference node added - xcode

Every time adding a reference node to a .sks file my Xcode Version 8.0 beta (8S128d) quits.
This happens when dragging a .sks file into the scene editor as well as when setting a reference in the utilities panel of the scene editor.
Is there a known fix for this yet, or is this happening just to me?
Problem Details:
Process: Xcode [13184]
Path: /Applications/Xcode-beta.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 8.0 (11160.22)
Build Info: IDEFrameworks-11160022000000000~6
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [13184]
User ID: 501
Date/Time: 2016-07-03 23:28:36.746 +0200
OS Version: Mac OS X 10.11.5 (15F34)
Report Version: 11
Anonymous UUID: 8DC6473C-B559-3B8F-E89B-804956710C20
Sleep/Wake UUID: F1951D94-FD7F-4776-9FEB-53E99E5D1EE0
Time Awake Since Boot: 98000 seconds
Time Since Wake: 11000 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:
ProductBuildVersion: 8S128d
UNCAUGHT EXCEPTION (NSInvalidUnarchiveOperationException): *** -[NSKeyedUnarchiver decodeObjectForKey:]: cannot decode object of class (Field) for key (NS.objects); the class may be defined in source code or a library that is not linked
UserInfo: {
"__NSCoderInternalErrorCode" = 4864;
}
Hints: None
Backtrace:
0 __exceptionPreprocess (in CoreFoundation)
1 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
2 objc_exception_throw (in libobjc.A.dylib)
3 -[NSCoder(Exceptions) __failWithExceptionName:errorCode:format:] (in Foundation)
4 -[NSCoder(Exceptions) __failWithExceptionName:errorCode:format:] (in Foundation)
5 _decodeObjectBinary (in Foundation)
6 _decodeObject (in Foundation)
7 -[SKSceneEditor sceneEditController:didPerformDragOperation:atLocation:] (in IDESpriteKitParticleEditor)
8 -[SKSceneEditController inputView:didPerformDragOperation:atLocation:] (in IDESpriteKitParticleEditor)
9 -[SKInputView _tryAcceptFilenameListDrop:sender:] (in IDESpriteKitParticleEditor)
10 -[SKInputView performDragOperation:] (in IDESpriteKitParticleEditor)
11 NSCoreDragReceiveMessageProc (in AppKit)
12 DoMultipartDropMessage (in HIServices)
13 DoDropMessage (in HIServices)
14 SendDropMessage (in HIServices)
15 DragInApplication (in HIServices)
16 CoreDragStartDragging (in HIServices)
17 -[NSCoreDragManager _dragUntilMouseUp:accepted:] (in AppKit)
18 -[NSCoreDragManager dragImage:fromWindow:at:offset:event:pasteboard:source:slideBack:] (in AppKit)
19 -[NSWindow(NSDrag) dragImage:at:offset:event:pasteboard:source:slideBack:] (in AppKit)
20 -[NSOutlineView dragImage:at:offset:event:pasteboard:source:slideBack:] (in AppKit)
21 -[NSTableView _doImageDragUsingRowsWithIndexes:event:pasteboard:source:slideBack:startRow:] (in AppKit)
22 -[NSTableView _performClassicDragOfIndexes:hitRow:event:] (in AppKit)
23 -[NSTableView _performDragFromMouseDown:] (in AppKit)
24 -[NSTableView mouseDown:] (in AppKit)
25 -[NSOutlineView mouseDown:] (in AppKit)
26 -[IDENavigatorOutlineView mouseDown:] (in IDEKit)
27 -[NSWindow _handleMouseDownEvent:isDelayedEvent:] (in AppKit)
28 -[NSWindow _reallySendEvent:isDelayedEvent:] (in AppKit)
29 -[NSWindow sendEvent:] (in AppKit)
30 -[IDEWorkspaceWindow sendEvent:] (in IDEKit)
31 -[NSApplication sendEvent:] (in AppKit)
32 -[IDEApplication sendEvent:] (in IDEKit)
33 -[NSApplication run] (in AppKit)
34 NSApplicationMain (in AppKit)
35 start (in libdyld.dylib)
abort() called
Application Specific Signatures:
NSInvalidUnarchiveOperationException
[…]
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 3
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 69518
thread_create: 0
thread_set_state: 2960
VM Region Summary:
ReadOnly portion of Libraries: Total=593.7M resident=0K(0%) swapped_out_or_unallocated=593.7M(100%)
Writable regions: Total=1.5G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.5G(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Accelerate.framework 256K 3
Activity Tracing 2048K 2
CG backing stores 29.2M 5
CG image 24.8M 173
CG shared images 368K 12
CoreAnimation 105.5M 364
CoreData Object IDs 4100K 3
CoreUI image data 5824K 44
CoreUI image file 444K 12
Dispatch continuations 16.0M 2
Foundation 40K 7
IOKit 7940K 2
Image IO 1164K 18
JS JIT generated code 256.0M 5
JS JIT generated code (reserved) 768.0M 2 reserved VM address space (unallocated)
Kernel Alloc Once 8K 3
MALLOC 270.6M 118
MALLOC guard page 32K 7
Memory Tag 242 12K 2
Memory Tag 251 60K 4
Memory Tag 83 492K 40
OpenCL 32K 5
Process Corpse Info 2048K 2
SQLite page cache 1024K 8
STACK GUARD 56.1M 31
Stack 22.3M 33
VM_ALLOCATE 116K 17
WebKit Malloc 16.6M 48
__DATA 61.4M 524
__IMAGE 528K 2
__LINKEDIT 150.9M 266
__TEXT 443.8M 504
__UNICODE 552K 2
mapped file 263.9M 90
shared memory 16.3M 11
=========== ======= =======
TOTAL 2.5G 2336
TOTAL, minus reserved VM space 1.7G 2336
Model: MacBookPro11,2, BootROM MBP112.0138.B17, 4 processors, Intel Core i7, 2,2 GHz, 16 GB, SMC 2.18f15
Graphics: Intel Iris Pro, Intel Iris Pro, Built-In
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54343147533641465238412D50422020
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54343147533641465238412D50422020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x134), Broadcom BCM43xx 1.0 (7.21.95.175.1a6)
Bluetooth: Version 4.4.5f3 17904, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SM0256F, 251 GB
USB Device: USB 3.0 Bus
USB Device: Apple Internal Keyboard / Trackpad
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 17.1

This is actually an issue with .Sks files since the Xcode 7.3.1 Beta version. Check out on the Apple developer forum as well.
https://forums.developer.apple.com/thread/47511
If you are reporting a bug, report under Graphics & Games> SpriteKit
Hope this helps. Thanks.

Related

Xcode 12.3 constantly crashes after update

I wanted to update Xcode to 12.3, but there wasn't enough space for that on my MacBook, so I downloaded Xcode 12.3 from developer.apple.com, and unarchived the .xip file on an external SSD. After that, I moved Xcode back to the laptop, and now when I want to launch Xcode (so when I launch the app, not a particular project!) it crashes with the following log:
Process: Xcode [616]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 12.3 (17715)
Build Info: IDEFrameworks-17715000000000000~8 (12C33)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [616]
User ID: 501
Date/Time: 2020-12-18 14:22:40.576 +0200
OS Version: macOS 11.1 (20C69)
Report Version: 12
Bridge OS Version: 5.1 (18P3030)
Anonymous UUID: A6A1D2D4-69BA-5197-5F6F-C0FB4D60ADEB
Time Awake Since Boot: 91 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:
ProductBuildVersion: 12C33
ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-17718/DVTFoundation/DeveloperStructure/DVTExtendedPlatformInfo.m:110
Details: (extensionPoint) should not be nil.
Object: <DVTExtendedPlatformInfo>
Method: +extendedPlatformInfoForPlatformIdentifier:error:
Thread: <NSThread: 0x7faa6100a380>{number = 1, name = main}
Open FDs: 6/256
Hints:
Backtrace:
0 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in IDEKit)
1 _DVTAssertionHandler (in DVTFoundation)
2 _DVTAssertionFailureHandler (in DVTFoundation)
3 __75+[DVTExtendedPlatformInfo extendedPlatformInfoForPlatformIdentifier:error:]_block_invoke (in DVTFoundation)
4 _dispatch_client_callout (in libdispatch.dylib)
5 _dispatch_once_callout (in libdispatch.dylib)
6 +[DVTExtendedPlatformInfo extendedPlatformInfoForPlatformIdentifier:error:] (in DVTFoundation)
7 -[DVTPlatform(DVTExtendedPlatformInfo) dvt_extendedInfoOrError:] (in DVTFoundation)
8 +[DVTPlatform validatePlatformDataReturningError:] (in DVTFoundation)
9 IDEInitialize (in IDEFoundation)
10 -[IDEApplicationController applicationWillFinishLaunching:] (in IDEKit)
11 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ (in CoreFoundation)
12 ___CFXRegistrationPost_block_invoke (in CoreFoundation)
13 _CFXRegistrationPost (in CoreFoundation)
14 _CFXNotificationPost (in CoreFoundation)
15 -[NSNotificationCenter postNotificationName:object:userInfo:] (in Foundation)
16 -[NSNotificationCenter(DVTNSNotificationCenterAdditions_MRR) _dvt_postNotificationName:object:userInfo:] (in DVTFoundation)
17 -[NSApplication finishLaunching] (in AppKit)
18 -[DVTApplication finishLaunching] (in DVTKit)
19 -[NSApplication run] (in AppKit)
20 NSApplicationMain (in AppKit)
21 start (in libdyld.dylib)
abort() called
Application Specific Signatures:
((extensionPoint)) != nil
I've tried everything I could find online:
restart Mac (in safe mode)
update macOS to Big Sur 11.1
reinstall Xcode Command Line Tools
clear derived data
clear all Xcode associated files (excepting the app itself) using AppCleaner
Do you have any idea on how I can fix this?
By the way, isn't it strange that the file that gives ASSERTION FAILURE doesn't even exist on my computer?
I somehow managed to free up around 40 GB on my MacBook, so I was able to download Xcode from App Store. And it seems like this was a "cleaner" install, stopping Xcode from crashing.

Xcode 11 crashing on iPhone 13.1 app running

I updated Xcode today (Xcode 11.0), and now it crashes every time I try running any project on my iPhone (iOS 13.1).
Already tried:
Cleaning derived data
Cleaning library cache folder
Uninstalling xCode and downloading it again from the store
Restarting Mac
Restarting iPhone
Reconnecting iPhone trough itunes
The odd thing is that the Xcode activity doesn't show the "installing app" phase, it goes straight to "Running app on device" and then crashes. Running on the simulator works without a problem.
Already searched on the Apple forums and sent the report to Apple, but maybe there is something I can do to solve te issue.
Error log:
Process: Xcode [873]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 11.0 (14936)
Build Info: IDEFrameworks-14936000000000000~3
App Item ID: 497799835
App External ID: 832762837
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [873]
User ID: 502
Date/Time: 2019-09-25 11:47:10.497 -0300
OS Version: Mac OS X 10.14.6 (18G95)
Report Version: 12
Anonymous UUID: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
Time Awake Since Boot: 550 seconds
System Integrity Protection: enabled
Crashed Thread: 16 Dispatch queue: Mutex to protect _hasPerformedWorkerAction
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
com.apple.main-thread
ProductBuildVersion: 11A420a
UNCAUGHT EXCEPTION (NSInternalInconsistencyException): Invalid parameter not satisfying: aString != nil
UserInfo: (null)
Hints:
0: Calling block provided to DVTSyncPerformBlock() here:
0 DVTSyncPerformBlock (in DVTFoundation)
1 -[IDEExecutionRunnableTracker executionWantsHold:withError:] (in IDEFoundation)
2 -[IDERunOperationWorker _startWithRetrying:] (in IDEFoundation)
3 __44-[IDERunOperationWorker _startWithRetrying:]_block_invoke_3 (in IDEFoundation)
4 __48-[DVTDispatchLock_Recursive performLockedBlock:]_block_invoke (in DVTFoundation)
5 _dispatch_client_callout (in libdispatch.dylib)
6 _dispatch_lane_barrier_sync_invoke_and_complete (in libdispatch.dylib)
7 DVTDispatchBarrierSync (in DVTFoundation)
8 -[DVTDispatchLock performLockedBlock:] (in DVTFoundation)
9 -[DVTDispatchLock_Recursive performLockedBlock:] (in DVTFoundation)
10 __44-[IDERunOperationWorker _startWithRetrying:]_block_invoke_2 (in IDEFoundation)
11 __DVT_CALLING_CLIENT_BLOCK__ (in DVTFoundation)
12 __DVTDispatchAfter_block_invoke (in DVTFoundation)
13 _dispatch_client_callout (in libdispatch.dylib)
14 _dispatch_continuation_pop (in libdispatch.dylib)
15 _dispatch_source_invoke (in libdispatch.dylib)
16 _dispatch_continuation_pop (in libdispatch.dylib)
17 _dispatch_async_redirect_invoke (in libdispatch.dylib)
18 _dispatch_root_queue_drain (in libdispatch.dylib)
19 _dispatch_worker_thread2 (in libdispatch.dylib)
20 _pthread_wqthread (in libsystem_pthread.dylib)
21 start_wqthread (in libsystem_pthread.dylib)
Backtrace:
0 __exceptionPreprocess (in CoreFoundation)
1 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
2 objc_exception_throw (in libobjc.A.dylib)
...
...
...
0x7fff63005000 - 0x7fff6300affb libunwind.dylib (35.4) <24A97A67-F017-3CFC-B0D0-6BD0224B1336> /usr/lib/system/libunwind.dylib
0x7fff6300b000 - 0x7fff6303afff libxpc.dylib (1336.261.2) <7DEE2300-6D8E-3C00-9C63-E3E80D56B0C4> /usr/lib/system/libxpc.dylib
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 1
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 430
thread_create: 0
thread_set_state: 21
VM Region Summary:
ReadOnly portion of Libraries: Total=1.1G resident=0K(0%) swapped_out_or_unallocated=1.1G(100%)
Writable regions: Total=1.2G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.2G(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Accelerate framework 640K 5
Activity Tracing 256K 1
CG backing stores 1160K 2
CG image 1296K 95
CG raster data 56K 6
CoreAnimation 25.8M 164
CoreGraphics 8K 1
CoreImage 776K 81
CoreUI image data 3000K 34
CoreUI image file 688K 14
Dispatch continuations 8192K 1
Foundation 344K 5
Image IO 80K 5
JS JIT generated code 1.0G 3
Kernel Alloc Once 1036K 2
MALLOC 136.4M 116
MALLOC guard page 48K 10
Memory Tag 242 12K 1
Memory Tag 251 64K 3
Performance tool data 8208K 1 not counted in TOTAL below
SQLite page cache 128K 2
STACK GUARD 56.1M 23
Stack 19.2M 23
VM_ALLOCATE 360K 24
WebKit Malloc 1144K 3
__DATA 94.4M 755
__DATA_CONST 8K 1
__FONT_DATA 4K 1
__LINKEDIT 357.4M 236
__TEXT 723.4M 680
__UNICODE 564K 1
libnetwork 1152K 4
mapped file 169.2M 230
shared memory 676K 15
=========== ======= =======
TOTAL 2.6G 2547
Model: MacBookPro12,1, BootROM 186.0.0.0.0, 2 processors, Intel Core i5, 2,9 GHz, 8 GB, SMC 2.28f7
Graphics: kHW_IntelIris6100Item, Intel Iris Graphics 6100, spdisplays_builtin
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1867 MHz, 0x80AD, 0x483943434E4E4E424C54424C41522D4E5544
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1867 MHz, 0x80AD, 0x483943434E4E4E424C54424C41522D4E5544
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x133), Broadcom BCM43xx 1.0 (7.77.61.2 AirPortDriverBrcmNIC-1305.8)
Bluetooth: Version 6.0.14d3, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SM0512G, 500,28 GB
USB Device: USB 3.0 Bus
USB Device: Bluetooth USB Host Controller
USB Device: iPhone
Thunderbolt Bus: MacBook Pro, Apple Inc., 27.1
So, I found that inside this folder:
~/Library/Developer/Xcode/iOS DeviceSupport
Xcode creates cache folders for all the physical devices symbols it paired.
This folder remains even if you uninstall Xcode, and the cache is reused even when you install other versions of the software.
Deleting the folders content made Xcode download the symbols again, run prepare debug support for the device phase and reset the device connection, solving the problem.
According to #alxlives 'Deleting the folders content made Xcode download the symbols again, run prepare debug support for the device phase and reset the device connection, solving the problem.' This solution solved the problem for me. Here is a terminal command to remove all contents inside of the folder.
rm -r ~/Library/Developer/Xcode/iOS\ DeviceSupport/
This commands remove all files that are located inside of the Device Support folderl.
1.Go to Project Folder
2.Right-click on xcodeproj
3.Click Show package Content
4.Delete xcuserdata directory
I was having this issue with Xcode 11.1 and an iPhone XR running iOS 13.2.3 (iPad running that OS version was fine). The accepted answer didn't work for me. Upgrading to Xcode 11.2.1 fixed it.
I was having the same crash on XCode 11.3 . I went on to "Show package contents" (right click on) of the ".xcworkspace" workspace directory and deleted "xcuserdata" folder. This resolved the crash for me.

Xcode 7.3.1 itself crashes instantly on resymbolicate crash log

Xcode 7.3.1 itself crashes instantly on resymbolicate crash log. Do people see this, is there a workaround?
The target name of the app which has the crash log is using non-alpha characters, so the filename of the crash log does too. I'm just guessing that such a thing could be of concern and could be worth looking into later.
Crash log of the Xcode crash.
Process: Xcode [26717]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 7.3.1 (10188.1)
Build Info: IDEFrameworks-10188001000000000~3
App Item ID: 497799835
App External ID: 817226719
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [26717]
User ID: 503
Date/Time: 2016-05-09 13:59:49.452 +0900
OS Version: Mac OS X 10.11.4 (15E65)
Report Version: 11
Anonymous UUID: BA41D661-8DBF-03DD-FB21-F8B96CA8C464
Time Awake Since Boot: 260000 seconds
System Integrity Protection: enabled
Crashed Thread: 17 Dispatch queue: com.apple.root.default-qos
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
ProductBuildVersion: 7D1014
UNCAUGHT EXCEPTION (NSInvalidArgumentException): *** -[NSRegularExpression enumerateMatchesInString:options:range:usingBlock:]: nil argument
UserInfo: (null)
Hints: None
Backtrace:
0 __exceptionPreprocess (in CoreFoundation)
1 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
2 objc_exception_throw (in libobjc.A.dylib)
3 +[NSException raise:format:] (in CoreFoundation)
4 -[NSRegularExpression(NSMatching) enumerateMatchesInString:options:range:usingBlock:] (in Foundation)
5 -[DVTLocalLogSymbolicator _parseToolStandardError:] (in DVTFoundation)
6 __55-[DVTLocalLogSymbolicator symbolicateLogData:callback:]_block_invoke_3 (in DVTFoundation)
7 _dispatch_call_block_and_release (in libdispatch.dylib)
8 _dispatch_client_callout (in libdispatch.dylib)
9 _dispatch_root_queue_drain (in libdispatch.dylib)
10 _dispatch_worker_thread3 (in libdispatch.dylib)
11 _pthread_wqthread (in libsystem_pthread.dylib)
12 start_wqthread (in libsystem_pthread.dylib)
abort() called

Xcode 6.3: Crash while archiving a project

I have just got Xcode 6.3 installed and immediately receiving a Xcode crash while archiving a project.
And actually, I don't know how to proceed. I cannot push my product to iTunes Connect.
I am also checking if I can roll back to Xcode 6.2.
Process: Xcode [4677]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 6.3 (7569)
Build Info: IDEFrameworks-7569000000000000~2
App Item ID: 497799835
App External ID: 812135760
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [4677]
User ID: 502
Date/Time: 2015-04-09 22:23:04.523 +0200
OS Version: Mac OS X 10.10.3 (14D131)
Report Version: 11
Time Awake Since Boot: 9100 seconds
Time Since Wake: 2000 seconds
Crashed Thread: 12 Dispatch queue: NSOperationQueue 0x7f946daa5ef0 :: NSOperation 0x7f946d9284b0 (QOS: USER_INITIATED)
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 6D570
UNCAUGHT EXCEPTION (NSInvalidArgumentException): *** -[NSURL URLByAppendingPathComponent:]: component, components, or pathExtension cannot be nil.
UserInfo: (null)
Hints: None
Backtrace:
0 0x00007fff984e6024 __exceptionPreprocess (in CoreFoundation)
1 0x00000001042e0184 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
2 0x00007fff977aa76e objc_exception_throw (in libobjc.A.dylib)
3 0x00007fff984e5eed +[NSException raise:format:] (in CoreFoundation)
4 0x00007fff8fae581d -[NSURL(NSURLPathUtilities) URLByAppendingPathComponent:] (in Foundation)
5 0x0000000107029a41 -[DVTSourceControlWorkspaceBlueprint saveBlueprintInFolder:options:] (in DVTSourceControl)
6 0x0000000104f6eb61 __96+[IDEArchive _copySCMBlueprintFromWorkspace:toArchiveWithPath:usingFileManager:completionBlock:]_block_invoke (in IDEFoundation)
7 0x0000000107020c24 __77-[DVTSourceControlWorkspace blueprintWithRemoteRepositories:completionBlock:]_block_invoke (in DVTSourceControl)
8 0x00007fff8fb257e8 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ (in Foundation)
9 0x00007fff8fb255b5 -[NSBlockOperation main] (in Foundation)
10 0x00007fff8fb24a6c -[__NSOperationInternal _start:] (in Foundation)
11 0x00007fff8fb24543 __NSOQSchedule_f (in Foundation)
12 0x00007fff944f4c13 _dispatch_client_callout (in libdispatch.dylib)
13 0x00007fff944f8365 _dispatch_queue_drain (in libdispatch.dylib)
14 0x00007fff944f9ecc _dispatch_queue_invoke (in libdispatch.dylib)
15 0x00007fff944f76b7 _dispatch_root_queue_drain (in libdispatch.dylib)
16 0x00007fff94505fe4 _dispatch_worker_thread3 (in libdispatch.dylib)
17 0x00007fff99dcd637 _pthread_wqthread (in libsystem_pthread.dylib)
18 0x00007fff99dcb40d start_wqthread (in libsystem_pthread.dylib)
abort() called
Application Specific Signatures:
NSInvalidArgumentException
Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff984e603c __exceptionPreprocess + 172
1 DVTFoundation 0x00000001042e0184 DVTFailureHintExceptionPreprocessor + 194
2 libobjc.A.dylib 0x00007fff977aa76e objc_exception_throw + 43
3 CoreFoundation 0x00007fff984e5eed +[NSException raise:format:] + 205
4 Foundation 0x00007fff8fae581d -[NSURL(NSURLPathUtilities) URLByAppendingPathComponent:] + 84
5 DVTSourceControl 0x0000000107029a41 -[DVTSourceControlWorkspaceBlueprint saveBlueprintInFolder:options:] + 225
6 IDEFoundation 0x0000000104f6eb61 __96+[IDEArchive _copySCMBlueprintFromWorkspace:toArchiveWithPath:usingFileManager:completionBlock:]_block_invoke + 112
7 DVTSourceControl 0x0000000107020c24 __77-[DVTSourceControlWorkspace blueprintWithRemoteRepositories:completionBlock:]_block_invoke + 5293
8 Foundation 0x00007fff8fb257e8 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 7
9 Foundation 0x00007fff8fb255b5 -[NSBlockOperation main] + 97
10 Foundation 0x00007fff8fb24a6c -[__NSOperationInternal _start:] + 653
11 Foundation 0x00007fff8fb24543 __NSOQSchedule_f + 184
12 libdispatch.dylib 0x00007fff944f4c13 _dispatch_client_callout + 8
13 libdispatch.dylib 0x00007fff944f8365 _dispatch_queue_drain + 1100
14 libdispatch.dylib 0x00007fff944f9ecc _dispatch_queue_invoke + 202
15 libdispatch.dylib 0x00007fff944f76b7 _dispatch_root_queue_drain + 463
16 libdispatch.dylib 0x00007fff94505fe4 _dispatch_worker_thread3 + 91
17 libsystem_pthread.dylib 0x00007fff99dcd637 _pthread_wqthread + 729
18 libsystem_pthread.dylib 0x00007fff99dcb40d start_wqthread + 13
Seems like the problem is when you have an old project with some subprojects under source control while the main one is not.
I have removed from Xcode Preferences source control completely, and it seems did the trick - now archiving works.
To remove your project from Source Control press command+, (or select Preferences from main menu) -> Source Control and uncheck all parameters.
I am following this issue in the developer forums and seems like Apple is aware of the issues.
New projects are not affected.
EDIT FOR NEW VERSION OF XCODE (6.3.1)
After installing new version of Xcode yesterday I have enabled Source Control and it works now correctly. Below is my version now:
Here is a visual that maybe of assistance!
I solved this crashing bug with the following steps:
Remove Xcode.app (throw it in the Trash or remove it via Launchpad)
Restart your Mac
Reinstall Xcode 6.3 via the Mac App Store
Everything is now back to normal.
My XCode project (which contains multiple sub projects) is entirely unstable in XCode 6.3. XCode is crashing at random when I'm working with it - never mind just achieving! I installed 6.2 side-by-side with 6.3 just to have a fallback option (Actually I have like 4 versions of XCode installed!). Here's an SO link to download full prior versions:
How to download Xcode DMG or XIP file?
XCode 9 Swift 4
if the xcode crash during the Archive please first check which Account you are using for Archive is your Apple Agreement is updated for this Apple Account?, then please update and re Archive Problem Solve

Xcode crash after interface building?

Has anyone had problems with Xcode 4.3.3 crashing on OSX Lion (10.7.4)? I am attempting to program a GUI interface and everything was perfect until I opened it to continue working on it today. This file will end up being an expert system for medical diagnosis.
A zip file is located here (http://www.mediafire.com/?14slv9xhb45214t) with all of the program files. Haven't gotten very far besides designing the interface.
I included the crash report below as well.
Process: Xcode [9714]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 4.3.3 (1178)
Build Info: IDEApplication-1178000000000000~3
App Item ID: 497799835
App External ID: 8553856
Code Type: X86-64 (Native)
Parent Process: launchd [273]
Date/Time: 2012-07-05 20:13:12.925 -0400
OS Version: Mac OS X 10.7.4 (11E53)
Report Version: 9
Interval Since Last Report: 197037 sec
Crashes Since Last Report: 12
Per-App Interval Since Last Report: 8746 sec
Per-App Crashes Since Last Report: 10
Anonymous UUID: 7C84D886-82A8-4652-B690-46D441C4DABB
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 4E3002
ASSERTION FAILURE in /SourceCache/IDESourceEditor/IDESourceEditor-1175/Classes/IDESourceCodeAdjustNodeTypesRequest.m:412
Details: symLoc should be an instance inheriting from DVTTextDocumentLocation, but it is <IBDocumentMemberLocation: 0x401dc9a40>
Object: <IDESourceCodeAdjustNodeTypesRequest: 0x401f137e0>
Method: -_processFoundSymbolResults:
Thread: <NSThread: 0x40010a220>{name = (null), num = 1}
Hints: None
Backtrace:
0 0x000000010556eb9f -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in IDEKit)
1 0x0000000104a1f5d5 _DVTAssertionFailureHandler (in DVTFoundation)
2 0x000000010a625908 -[IDESourceCodeAdjustNodeTypesRequest _processFoundSymbolResults:] (in IDESourceEditor)
3 0x0000000104a3ffc7 __DVTAsyncPerformBlock_block_invoke_0 (in DVTFoundation)
4 0x00007fff826cadfc __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ (in CoreFoundation)
5 0x00007fff82682f02 __CFRunLoopDoBlocks (in CoreFoundation)
6 0x00007fff826aab35 __CFRunLoopRun (in CoreFoundation)
7 0x00007fff826aa486 CFRunLoopRunSpecific (in CoreFoundation)
8 0x00007fff8727b4d3 RunCurrentEventLoopInMode (in HIToolbox)
9 0x00007fff87282781 ReceiveNextEventCommon (in HIToolbox)
10 0x00007fff8728260e BlockUntilNextEventMatchingListInMode (in HIToolbox)
11 0x0000000105b64e31 _DPSNextEvent (in AppKit)
12 0x0000000105b64735 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in AppKit)
13 0x0000000105b61071 -[NSApplication run] (in AppKit)
14 0x0000000105ddd244 NSApplicationMain (in AppKit)
15 0x000000010499beec (in Xcode)
16 0x0000000000000002
objc[9714]: garbage collection is ON
abort() called
Xcode crashes can be caused by a corrupt project file. This has happened to me a couple of times.
Xcode seems intolerant of any errors, and won't even let you get to version control.
If you are using version control you could try repairing this at the command line.
You might want to recreate your project. You should be able to copy your source files and .XIB into a new project.

Resources