Xcode crashing when trying to run on iOS 13.2 device - ios

My app runs properly on other devices and in the simulator, but my iOS 13.2 iPhone causes Xcode to crash when it is about to run on the device?
here's my crash log:
Process: Xcode [6201]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 11.1 (15405)
Build Info: IDEFrameworks-15405000000000000~13 (11A1027)
App Item ID: 497799835
App External ID: 832925179
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [6201]
User ID: 501
Date/Time: 2019-10-31 11:09:42.827 +0000
OS Version: Mac OS X 10.15.1 (19B88)
Report Version: 12
Anonymous UUID: AE67D298-19BC-5BC6-E2C9-0312CD6CAEE2
Time Awake Since Boot: 1500 seconds
System Integrity Protection: enabled
Crashed Thread: 9 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: 11A1027
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)
3 +[NSException raise:format:arguments:] (in CoreFoundation)
4 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] (in Foundation)
5 -[NSCell _objectValue:forString:errorDescription:] (in AppKit)
6 -[NSCell setStringValue:] (in AppKit)
7 -[NSControl setStringValue:] (in AppKit)
8 -[IDEExecutionHoldAlertHelper showAlert] (in IDEKit)
9 -[IDEWorkspaceTabController showExecutionHoldAlertWithError:] (in IDEKit)
10 __55-[IDEWorkspaceDocument _setupLaunchSessionsObservation]_block_invoke_2 (in IDEKit)
11 -[DVTObservingBlockToken observeValueForKeyPath:ofObject:change:context:] (in DVTFoundation)
12 NSKeyValueNotifyObserver (in Foundation)
13 NSKeyValueDidChange.llvm.18255262684423441536 (in Foundation)
14 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKeys:count:maybeOldValuesDict:maybeNewValuesDict:usingBlock:] (in Foundation)
15 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKey:key:key:usingBlock:] (in Foundation)
16 _NSSetCharValueAndNotify (in Foundation)
17 -[IDEExecutionTracker _updateWantsHold] (in IDEFoundation)
18 __37-[IDEExecutionTracker addSubtracker:]_block_invoke (in IDEFoundation)
19 -[DVTObservingBlockToken observeValueForKeyPath:ofObject:change:context:] (in DVTFoundation)
20 NSKeyValueNotifyObserver (in Foundation)
21 NSKeyValueDidChange.llvm.18255262684423441536 (in Foundation)
22 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKeys:count:maybeOldValuesDict:maybeNewValuesDict:usingBlock:] (in Foundation)
23 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKey:key:key:usingBlock:] (in Foundation)
24 _NSSetCharValueAndNotify (in Foundation)
25 __60-[IDEExecutionRunnableTracker executionWantsHold:withError:]_block_invoke (in IDEFoundation)
26 __DVT_CALLING_CLIENT_BLOCK__ (in DVTFoundation)
27 __DVTSyncPerformBlock_block_invoke.48 (in DVTFoundation)
28 DVTInvokeWithLazyFailureHint (in DVTFoundation)
29 __DVTSyncPerformBlock_block_invoke (in DVTFoundation)
30 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ (in CoreFoundation)
31 __CFRunLoopDoBlocks (in CoreFoundation)
32 __CFRunLoopRun (in CoreFoundation)
33 CFRunLoopRunSpecific (in CoreFoundation)
34 RunCurrentEventLoopInMode (in HIToolbox)
35 ReceiveNextEventCommon (in HIToolbox)
36 _BlockUntilNextEventMatchingListInModeWithFilter (in HIToolbox)
37 _DPSNextEvent (in AppKit)
38 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] (in AppKit)
39 -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in DVTKit)
40 -[NSApplication run] (in AppKit)
41 NSApplicationMain (in AppKit)
42 main (in Xcode)
43 start (in libdyld.dylib)
abort() called
full log: https://pastebin.com/8aHqMbWn

Xcode 11.2 was launched today, 4 days after iOS 13.2.
I was unable to make Xcode 11.2 work with iOS 13.2 devices.
I used AppCleaner to remove every single piece of Xcode from my computer then I downloaded Xcode 11.2 and installed it again.
It is now working fine.

Xcode 11.1 doesn't really support iOS 13.2, you should wait for Xcode 11.2 to be released fairly soon by Apple or download the beta version of 11.2 from Apple's site.

Related

when I Distribute App Xcode 13.1 crash Preparing summary

Xcode 13.1 crash in Distribute App
My App use charts.framework 3.3.0
My application uses charts. Framework3.3.0.
I think there is a problem here.
However, the same archive file in Xcode 12.3 it work well .
I think there is something wrong with Xcode 13.1,
however
Different projects and other projects can be packaged successfully in xcode13.1,
This makes me confused
What went wrong.
> Here Xcode 13.1 crash in Distribute App log
Process: Xcode [65781]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 13.1 (19466)
Build Info: IDEFrameworks-19466000000000000~20 (13A1030d)
App Item ID: 497799835
App External ID: 844664792
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [65781]
User ID: 501
Date/Time: 2021-11-19 09:24:46.378 +0800
OS Version: macOS 11.6 (20G165)
Report Version: 12
Anonymous UUID: 52F5D246-FDF9-90E0-35EB-5556BDC2CE93
Sleep/Wake UUID: 8D6D2E2A-D856-4FEE-8AA1-A72352EEC604
Time Awake Since Boot: 23000 seconds
Time Since Wake: 970 seconds
System Integrity Protection: enabled
Crashed Thread: 13 Dispatch queue: ConcurrentQueue: -[IDEDistributionSummaryStepViewController viewDidLoad]_block_invoke
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
Possibly stale failure hints from 2021-11-19 01:24:45 +0000:
0: Calling block provided by:
0 DVTDispatchAsync (in DVTFoundation)
1 -[IDEDistributionSummaryStepViewController viewDidLoad] (in IDEKit)
2 -[NSViewController _sendViewDidLoad] (in AppKit)
3 -[NSViewController _loadViewIfRequired] (in AppKit)
4 -[NSViewController view] (in AppKit)
5 -[DVTViewController view] (in DVTViewControllerKit)
6 -[IDEDistributionAssistantWindowController setDistributionStepViewController:] (in IDEKit)
7 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKeys:count:maybeOldValuesDict:maybeNewValuesDict:usingBlock:] (in Foundation)
8 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKey:key:key:usingBlock:] (in Foundation)
9 _NSSetObjectValueAndNotify (in Foundation)
10 -[IDEDistributionAssistantWindowController next:] (in IDEKit)
11 -[IDEDistributionPackagingStepViewController _pipelineSucceeded] (in IDEKit)
12 __58-[IDEDistributionPackagingStepViewController _runPipeline]_block_invoke.70 (in IDEKit)
13 __DVT_CALLING_CLIENT_BLOCK__ (in DVTFoundation)
14 ___DVTAsyncPerformBlockOnMainRunLoop_block_invoke (in DVTFoundation)
15 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ (in CoreFoundation)
16 __CFRunLoopDoBlocks (in CoreFoundation)
17 __CFRunLoopRun (in CoreFoundation)
18 CFRunLoopRunSpecific (in CoreFoundation)
19 RunCurrentEventLoopInMode (in HIToolbox)
20 ReceiveNextEventCommon (in HIToolbox)
21 _BlockUntilNextEventMatchingListInModeWithFilter (in HIToolbox)
22 _DPSNextEvent (in AppKit)
23 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] (in AppKit)
24 -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in DVTKit)
25 -[NSApplication run] (in AppKit)
26 -[DVTApplication run] (in DVTKit)
27 NSApplicationMain (in AppKit)
28 start (in libdyld.dylib)
ProductBuildVersion: 13A1030d
UNCAUGHT EXCEPTION (NSInvalidArgumentException): -[__NSCFNumber dvt_isNonEmpty]: unrecognized selector sent to instance 0xad7b3702d3d226f1
UserInfo: (null)
Open FDs: 54/9472
Hints:
0: Calling block provided by:
0 DVTDispatchAsync (in DVTFoundation)
1 -[IDEDistributionSummaryStepViewController viewDidLoad] (in IDEKit)
2 -[NSViewController _sendViewDidLoad] (in AppKit)
3 -[NSViewController _loadViewIfRequired] (in AppKit)
4 -[NSViewController view] (in AppKit)
5 -[DVTViewController view] (in DVTViewControllerKit)
6 -[IDEDistributionAssistantWindowController setDistributionStepViewController:] (in IDEKit)
7 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKeys:count:maybeOldValuesDict:maybeNewValuesDict:usingBlock:] (in Foundation)
8 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKey:key:key:usingBlock:] (in Foundation)
9 _NSSetObjectValueAndNotify (in Foundation)

Xcode 8.2.1 crash when click on .storyboard file

Xcode 8.2.1 crash when clicked on Main.Storyboard.
I am trying these
--> Create new project and open Min.storyboard also crashed.
--> Right click on the file .xcworkspace > Show Package Contents
Delete the xcuserdata folder.
--> Clean project.
--> Restart xcode
--> Restart mac.
Process: Xcode [4780]
Path:
/Users/USER/Downloads/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 8.2.1 (11766.1)
Build Info: IDEFrameworks-11766001000000000~5
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [4780]
User ID: 501
Date/Time: 2017-05-24 13:16:11.476 +0530
OS Version: Mac OS X 10.12 (16A323)
Report Version: 12
Anonymous UUID: 2B27E656-FF06-3C25-BD1E-3F5697C8D4CD
Time Awake Since Boot: 6900 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue:
IB.ExecutionQueue.IBCocoaTouchToolManager
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
ProductBuildVersion: 8C1002
UNCAUGHT EXCEPTION (NSInvalidArgumentException): -[__NSDate hasSuffix:]: unrecognized selector sent to instance 0x7f83ebc32100
UserInfo: (null)
Hints: None
Backtrace:
0 __exceptionPreprocess (in CoreFoundation)
1 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
2 objc_exception_throw (in libobjc.A.dylib)
3 -[NSObject(NSObject) doesNotRecognizeSelector:] (in CoreFoundation)
4 ___forwarding___ (in CoreFoundation)
5 _CF_forwarding_prep_0 (in CoreFoundation)
6 __82-[IBAbstractPlatformToolExecutionContext populateEnvironment:launchContext:error:]_block_invoke_3 (in IDEInterfaceBuilderKit)
7 ____NSDictionaryEnumerate_block_invoke.431 (in CoreFoundation)
8 CFBasicHashApply (in CoreFoundation)
9 __NSDictionaryEnumerate (in CoreFoundation)
10 __82-[IBAbstractPlatformToolExecutionContext populateEnvironment:launchContext:error:]_block_invoke_2 (in IDEInterfaceBuilderKit)
11 __82-[IBAbstractPlatformToolExecutionContext populateEnvironment:launchContext:error:]_block_invoke (in IDEInterfaceBuilderKit)
12 _dispatch_client_callout (in libdispatch.dylib)
13 dispatch_once_f (in libdispatch.dylib)
14 -[IBAbstractPlatformToolExecutionContext populateEnvironment:launchContext:error:] (in IDEInterfaceBuilderKit)
15 0x0000000121bf2e42 (in IDEInterfaceBuilderCocoaTouchIntegration)
16 0x0000000121c2ed0b (in IDEInterfaceBuilderCocoaTouchIntegration)
17 -[IBAbstractPlatformToolExecutionContext environmentWithLaunchContext:error:] (in IDEInterfaceBuilderKit)
18 0x0000000121c2dbdc (in IDEInterfaceBuilderCocoaTouchIntegration)
19 +[IBAbstractInterfaceBuilderPlatformToolManager _THREADSAFE_launchNewToolWithLaunchContext:executionContext:toolProxyClass:failureContext:requestingMethod:error:forReason:] (in IDEInterfaceBuilderKit)
20 -[IBAbstractInterfaceBuilderPlatformToolManager launchNewToolWithDescription:error:forReason:] (in IDEInterfaceBuilderKit)
21 0x0000000121b2ea4a (in IDEInterfaceBuilderCocoaTouchIntegration)
22 -[IBAbstractInterfaceBuilderPlatformToolManager cachedToolWithDescription:error:forReason:] (in IDEInterfaceBuilderKit)
23 0x0000000121b2e8e1 (in IDEInterfaceBuilderCocoaTouchIntegration)
24 0x0000000121b05a1a (in IDEInterfaceBuilderCocoaTouchIntegration)
25 _dispatch_client_callout (in libdispatch.dylib)
26 _dispatch_barrier_sync_f_invoke (in libdispatch.dylib)
27 DVTDispatchSync (in DVTFoundation)
28 DVTSyncPerformBlock (in DVTFoundation)
29 0x0000000121b057e7 (in IDEInterfaceBuilderCocoaTouchIntegration)
30 -[IBDocument preflightUnarchivingDocumentHandlingOrReturningError:] (in IDEInterfaceBuilderKit)
31 -[IBDocument unarchivePlatformIndependentDataWithUnarchiver:error:] (in IDEInterfaceBuilderKit)
32 -[IBStoryboardDocument unarchivePlatformIndependentDataWithUnarchiver:error:] (in IDEInterfaceBuilderKit)
33 -[IBDocument unarchiveDocumentWithUnarchiver:error:] (in IDEInterfaceBuilderKit)
34 __48-[IBDocumentUnarchiver unarchiveDocument:error:]_block_invoke (in IDEInterfaceBuilderKit)
35 -[IBDocumentUnarchiver recurseWithElement:kind:invokingBlock:] (in IDEInterfaceBuilderKit)
36 -[IBDocumentUnarchiver unarchiveDocument:error:] (in IDEInterfaceBuilderKit)
37 __61-[IBDocument decodeContentsOfURL:ofType:decodingStyle:error:]_block_invoke (in IDEInterfaceBuilderKit)
38 -[IBDocumentAutolayoutManager ignoreAutolayoutStatusInvalidationDuring:] (in IDEInterfaceBuilderKit)
39 -[IBDocument ignoreAutolayoutStatusInvalidationDuring:] (in IDEInterfaceBuilderKit)
40 -[IBDocument decodeContentsOfURL:ofType:decodingStyle:error:] (in IDEInterfaceBuilderKit)
41 -[IBDocument readFromURL:ofType:error:] (in IDEInterfaceBuilderKit)
42 -[NSDocument _initForURL:withContentsOfURL:ofType:error:] (in AppKit)
43 -[NSDocument initForURL:withContentsOfURL:ofType:error:] (in AppKit)
44 -[IDEEditorDocument initForURL:withContentsOfURL:ofType:error:] (in IDEKit)
45 -[IBDocument initForURL:withContentsOfURL:ofType:error:] (in IDEInterfaceBuilderKit)
46 +[IDEDocumentController _newEditorDocumentWithClass:forURL:withContentsOfURL:ofType:extension:error:] (in IDEKit)
47 -[IDEEditorContext _newEditorDocumentWithClass:forURL:withContentsOfURL:ofType:extension:error:] (in IDEKit)
48 -[IDEEditorContext _openNavigableItem:withContentsOfURL:documentExtension:shouldInstallEditorBlock:] (in IDEKit)
49 -[IDEEditorContext _openNavigableItem:withContentsOfURL:shouldInstallEditorBlock:] (in IDEKit)
50 -[IDEEditorContext _notifyDelegateAndOpenNavigableItem:withContentsURL:documentExtensionIdentifier:locationToSelect:annotationRepresentedObject:stateDictionary:annotationWantsIndicatorAnimation:exploreAnnotationRepresentedObject:highlightSelection:alwaysReplaceExistingNavigableItem:skipSubDocumentNavigationUnlessEditorIsReplaced:] (in IDEKit)
51 -[IDEEditorContext _notifyDelegateAndOpenEditorOpenSpecifier:updateHistory:] (in IDEKit)
52 -[IDEEditorContext _openEditorOpenSpecifier:updateHistory:] (in IDEKit)
53 -[IDEEditorContext openEditorOpenSpecifier:] (in IDEKit)
54 -[IDEEditorModeViewController openEditorOpenSpecifier:editorContext:] (in IDEKit)
55 -[IDEEditorArea _openEditorOpenSpecifier:editorContext:takeFocus:] ( in IDEKit)
56 __108+[IDEEditorCoordinator _doOpenEditorOpenSpecifier:forWorkspaceTabController:editorContext:target:takeFocus:]_block_invoke (in IDEKit)
57 +[IDEEditorCoordinator _doOpenWithWorkspaceTabController:editorContext:target:allowFallback:documentURL:usingBlock:] (in IDEKit)
58 +[IDEEditorCoordinator _doOpenEditorOpenSpecifier:forWorkspaceTabController:editorContext:target:takeFocus:] (in IDEKit)
59 -[_IDEOpenRequest _runIfNecessary] (in IDEKit)
60 __NSFireDelayedPerform (in Foundation)
61 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ (in CoreFoundation)
62 __CFRunLoopDoTimer (in CoreFoundation)
63 __CFRunLoopDoTimers (in CoreFoundation)
64 __CFRunLoopRun (in CoreFoundation)
65 CFRunLoopRunSpecific (in CoreFoundation)
66 RunCurrentEventLoopInMode (in HIToolbox)
67 ReceiveNextEventCommon (in HIToolbox)
68 _BlockUntilNextEventMatchingListInModeWithFilter (in HIToolbox)
69 _DPSNextEvent (in AppKit)
70 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] (in AppKit)
71 -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in DVTKit)
72 -[NSApplication run] (in AppKit)
73 NSApplicationMain (in AppKit)
74 start (in libdyld.dylib)
abort() called
Thread 0 Crashed:: Dispatch queue:
IB.ExecutionQueue.IBCocoaTouchToolManager
Pelase help!!!

With Xcode 6.2 Update, Find in Workspace Crashes

After updating Xcode to 6.2 (6C131e), doing "Find in Workspace" crashes with "UNCAUGHT EXCEPTION (NSInternalInconsistencyException): Could not find class named UIImage". I tried "Clean Build Folder" to no avail. Are there other Xcode caches or indexes that I should try to reset?
Process: Xcode [21278]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 6.2 (6776)
Build Info: IDEFrameworks-6776000000000000~11
App Item ID: 497799835
App External ID: 811890240
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [21278]
User ID: 501
Date/Time: 2015-03-15 19:53:43.364 -0700
OS Version: Mac OS X 10.10.2 (14C1510)
Report Version: 11
Anonymous UUID: 539D7F12-9E6C-9CC5-F6D9-1FDBD16DF85D
Sleep/Wake UUID: B9E7A3DF-5CB3-4194-82BA-4445905D6A2D
Time Awake Since Boot: 120000 seconds
Time Since Wake: 340 seconds
Crashed Thread: 21 Dispatch queue: IDEBatchFindReplace_ConcurrentQueue :: NSOperation 0x7fdb7f20c550 (QOS: USER_INITIATED)
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 6C131e
UNCAUGHT EXCEPTION (NSInternalInconsistencyException): Could not find class named UIImage
UserInfo: (null)
Hints: None
Backtrace:
0 0x00007fff94143654 __exceptionPreprocess (in CoreFoundation)
1 0x0000000106601764 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
2 0x00007fff9546176e objc_exception_throw (in libobjc.A.dylib)
3 0x00007fff9414344a +[NSException raise:format:arguments:] (in CoreFoundation)
4 0x00007fff928273a9 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] (in Foundation)
5 0x000000010d4bdf21 -[IBBinaryUnarchiver decodeObject] (in IBFoundation)
6 0x000000010d53ac3e +[IBUserDefinedRuntimeAttribute decodeWithBinaryUnarchiver:] (in IBFoundation)
7 0x000000010d4bdf47 -[IBBinaryUnarchiver decodeObject] (in IBFoundation)
8 0x000000010d4b93a0 -[NSDictionary(IBBinaryArchivingAdditions) initWithBinaryUnarchiver:] (in IBFoundation)
9 0x000000010d4b8411 +[NSObject(IBBinaryArchivingAdditions) decodeWithBinaryUnarchiver:] (in IBFoundation)
10 0x000000010d4bdf47 -[IBBinaryUnarchiver decodeObject] (in IBFoundation)
11 0x000000010d4bd017 +[IBBinaryUnarchiver unarchiveObjectWithData:context:minArchiveVersion:] (in IBFoundation)
12 0x00000001112c2aeb -[IBAttributeSearchLocation initWithPropertyList:owner:] (in IDEInterfaceBuilderKit)
13 0x00000001113faff8 -[IBSearchableAttributeDescription initWithPropertyList:owner:] (in IDEInterfaceBuilderKit)
14 0x00000001113fa3eb __64-[IBDocumentMemberSearchDescription initWithPropertyList:owner:]_block_invoke (in IDEInterfaceBuilderKit)
15 0x000000010d4c8be9 IBArrayByMappingCollectionWithBehavior (in IBFoundation)
16 0x00000001113fa2f6 -[IBDocumentMemberSearchDescription initWithPropertyList:owner:] (in IDEInterfaceBuilderKit)
17 0x00000001113f99cc __58-[IBDocumentSearchDescription initWithPropertyList:owner:]_block_invoke (in IDEInterfaceBuilderKit)
18 0x000000010d4c8be9 IBArrayByMappingCollectionWithBehavior (in IBFoundation)
19 0x00000001113f9923 -[IBDocumentSearchDescription initWithPropertyList:owner:] (in IDEInterfaceBuilderKit)
20 0x000000011161240e -[IBTextIndexDataProvider findableForFilePath:] (in IDEInterfaceBuilderKit)
21 0x00000001070f5abf -[IDETextIndex _computeFindableForFilePath:withDataProvider:] (in IDEFoundation)
22 0x00000001070f7e27 -[IDETextIndexTextFindableWrapper findStringMatchingDescriptor:backwards:from:to:] (in IDEFoundation)
23 0x00000001064c703a -[DVTTextFinder _findNext] (in DVTFoundation)
24 0x00000001064c6f36 -[DVTTextFinder findBeforeDate:] (in DVTFoundation)
25 0x0000000107adb62a -[IDEBatchDocumentFindable performFind] (in IDEKit)
26 0x00007fff9273c32c -[__NSOperationInternal _start:] (in Foundation)
27 0x00007fff9273bf33 __NSOQSchedule_f (in Foundation)
28 0x00007fff9670dc13 _dispatch_client_callout (in libdispatch.dylib)
29 0x00007fff96711365 _dispatch_queue_drain (in libdispatch.dylib)
30 0x00007fff96712ecc _dispatch_queue_invoke (in libdispatch.dylib)
31 0x00007fff967106b7 _dispatch_root_queue_drain (in libdispatch.dylib)
32 0x00007fff9671efe4 _dispatch_worker_thread3 (in libdispatch.dylib)
33 0x00007fff90950637 _pthread_wqthread (in libsystem_pthread.dylib)
34 0x00007fff9094e40d start_wqthread (in libsystem_pthread.dylib)
It is a bug in xcode, happens when you search for strings in Xcode 6.2 and the search finds instances in a storyboard that is part of a Workspace.
What fixed it in our case was to open, save & close all storyboards.
I had this problem recently. Just open all storyboards in the app. It should work afterwards.

Switch between Xcode 6 and Xcode 4.5

Using OS X Yosemite
Removed Xcode6, and installed Xcode 4.5 following this guide:
http://iosdevelopertips.com/xcode/install-multiple-versions-of-xcode.html
Installed Xcode 4.5 under a different folder and used the command "sudo xcode-select --switch /Applications/Xcode4.5/Xcode.app" (in terminal) to switch to the new Xcode4.5 version (from guide above).
Got an error message stating an incompatible "MobileDevice.Framework" was installed on first launch. Followed this guide to fix that issue: Xcode 4.4.1 does not work properly under OSX Mavericks
After running command: "sudo rm -rf /System/Library/PrivateFrameworks/MobileDevice.framework" from the stack overflow issue above, I am getting another error that I have not been able to resolve after many days of research:
Process: Xcode [2422]
Path: /Applications/Xcode4.5.2/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 4.5.2 (1847)
Build Info: IDEApplication-1847000000000000~5
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [2422]
User ID: 501
Date/Time: 2014-12-29 13:36:32.026 -0500
OS Version: Mac OS X 10.10.1 (14B25)
Report Version: 11
Anonymous UUID: 1076DD40-2DC4-A657-02AE-90EA3278917B
Time Awake Since Boot: 4200 seconds
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 4G2008a
UNCAUGHT EXCEPTION (NSInternalInconsistencyException): Extension Xcode.Device.iPhone class 'DVTiPhoneLocator' not found for required key 'locatorClass'
UserInfo: {
DVTExtensionClassNameErrorKey = DVTiPhoneLocator;
DVTExtensionIdentifierErrorKey = "Xcode.Device.iPhone";
DVTPlugInExecutablePathErrorKey = "/Applications/Xcode4.5.2/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/PrivatePlugIns/IDEiPhoneSupport.ideplugin";
DVTPlugInIdentifierErrorKey = "com.apple.dt.IDE.IDEiPhoneSupport";
}
Hints: None
Backtrace:
0 0x00007fff85859634 __exceptionPreprocess (in CoreFoundation)
1 0x00007fff8b2ac6de objc_exception_throw (in libobjc.A.dylib)
2 0x0000000109c1eff1 -[DVTExtension _adjustClassAttribute:forKey:inParameterData:] (in DVTFoundation)
3 0x0000000109c1ec56 -[DVTExtension _adjustClassReferencesInParameterData:usingSchema:] (in DVTFoundation)
4 0x0000000109c7554f -[DVTExtension _fireExtensionFault:] (in DVTFoundation)
5 0x0000000109c75110 __63-[DVTExtension _valueForKey:inParameterData:usingSchema:error:]_block_invoke_0 (in DVTFoundation)
6 0x0000000109c9c446 __DVTDispatchSync_block_invoke_0 (in DVTFoundation)
7 0x00007fff8b210c13 _dispatch_client_callout (in libdispatch.dylib)
8 0x00007fff8b211e5e _dispatch_barrier_sync_f_invoke (in libdispatch.dylib)
9 0x0000000109c9c263 DVTDispatchSync (in DVTFoundation)
10 0x0000000109c9c077 DVTSyncPerformBlock (in DVTFoundation)
11 0x0000000109bf917d -[DVTDispatchLock performLockedBlock:] (in DVTFoundation)
12 0x0000000109c75007 -[DVTExtension _valueForKey:inParameterData:usingSchema:error:] (in DVTFoundation)
13 0x0000000109c1e40d -[DVTExtension valueForKey:] (in DVTFoundation)
14 0x0000000109c23c03 +[DVTDevice _knownDeviceLocators] (in DVTFoundation)
15 0x0000000109c237bc -[DVTDeviceManager startLocating] (in DVTFoundation)
16 0x000000010a50d3d3 __IDEInitialize_block_invoke_0 (in IDEFoundation)
17 0x000000010a50d986 IDESetSafeToLoadMobileDevice (in IDEFoundation)
18 0x000000010a81f6e3 -[IDEWelcomeWindowController _showFirstLaunchExperienceIfAppropriate] (in IDEKit)
19 0x000000010a81f604 -[IDEWelcomeWindowController openWelcomeWindowAfterFirstLaunchExperienceIfAppropriate:] (in IDEKit)
20 0x000000010a81f56e -[IDEApplicationController applicationOpenUntitledFile:] (in IDEKit)
21 0x00007fff8dcdfa5a -[NSApplication _doOpenUntitled] (in AppKit)
22 0x00007fff8dc18b91 __58-[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:]_block_invoke (in AppKit)
23 0x00007fff8e33e5b0 __95-[NSPersistentUIManager restoreAllPersistentStateRegisteringAsReadyWhenDone:completionHandler:]_block_invoke557 (in AppKit)
24 0x00007fff8df22389 __97-[NSDocumentController(NSInternal) _autoreopenDocumentsIgnoringExpendable:withCompletionHandler:]_block_invoke_3 (in AppKit)
25 0x00007fff8df21d81 -[NSDocumentController(NSInternal) _autoreopenDocumentsIgnoringExpendable:withCompletionHandler:] (in AppKit)
26 0x00007fff8dc11354 -[NSPersistentUIRestorer finishedRestoringWindowsWithZOrder:completionHandler:] (in AppKit)
27 0x00007fff8dac262c -[NSPersistentUIRestorer restoreStateFromRecords:usingDelegate:completionHandler:] (in AppKit)
28 0x00007fff8dac1c91 -[NSPersistentUIManager restoreAllPersistentStateRegisteringAsReadyWhenDone:completionHandler:] (in AppKit)
29 0x00007fff8dac0f37 -[NSApplication _reopenWindowsAsNecessaryIncludingRestorableState:registeringAsReady:completionHandler:] (in AppKit)
30 0x00007fff8dac0c69 -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] (in AppKit)
31 0x00007fff8dac06b5 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] (in AppKit)
32 0x00007fff8621a458 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] (in Foundation)
33 0x00007fff8621a2c9 _NSAppleEventManagerGenericHandler (in Foundation)
34 0x00007fff920d499c aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned int, unsigned char*) (in AE)
35 0x00007fff920d4719 dispatchEventAndSendReply(AEDesc const*, AEDesc*) (in AE)
36 0x00007fff920d4623 aeProcessAppleEvent (in AE)
37 0x00007fff8fcdb37e AEProcessAppleEvent (in HIToolbox)
38 0x00007fff8dabcd76 _DPSNextEvent (in AppKit)
39 0x00007fff8dabbe80 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in AppKit)
40 0x00007fff8daafe23 -[NSApplication run] (in AppKit)
41 0x00007fff8da9b2d4 NSApplicationMain (in AppKit)
42 0x0000000109bead17 (in Xcode)
43 0x0000000109beaca8 (in Xcode)
It looks like since 10.10 there is no way to allow work xcode 4.5 and xcode 4.4 (although OSX 10.9 allows workaround for this)
So you should use OSX 10.9 (Mavericks) if you want to start them.
And... Why you want to use Xcode 4.5? I don't know any reason to use it.
Xcode 4.4.1 - last version which allows to debug on armv6 device.
Xcode 4.6.3 - contains last SDK before iOS 7 design (SDK 6.1).
But what is the reason for Xcode 4.5.2?

Xcode 5.1.1 crashes when I build and run app

I am using MacOSX 10.9.4 Maverick, Xcode 5.1.1 . When I try to launch an app in the simulator, I get a black screen, and then Xcode closes. I have read every post here but the result is the same. I have reinstalled Xcode 4 times.
Process: Xcode [1408]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 5.1.1 (5085)
Build Info: IDEFrameworks-5085000000000000~10
App Item ID: 497799835
App External ID: 520942841
Code Type: X86-64 (Native)
Parent Process: launchd [742]
Responsible: Xcode [1408]
User ID: 501
Date/Time: 2014-08-11 20:13:21.024 +0300
OS Version: Mac OS X 10.9.4 (13E28)
Report Version: 11
Anonymous UUID: F561F489-E878-36A0-F528-B5968C6B4C5E
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
Sending performRunAction: to <IDERunPauseContinueToolbarButton: 0x7f9ca5c0e380> from <IDERunPauseContinueToolbarButton: 0x7f9ca5c0e380>
ProductBuildVersion: 5B1008
UNCAUGHT EXCEPTION (NSInternalInconsistencyException): Error getting value for key 'workerClass' of extension 'Xcode.DebuggerFoundation.Debugger.LLDB' in plug-in 'com.apple.dt.dbg.DebuggerLLDB'
UserInfo: {
NSUnderlyingError = "Error Domain=DVTPlugInErrorDomain Code=2 \"Loading a plug-in failed.\" UserInfo=0x7f9caa062760 {DVTPlugInIdentifierErrorKey=com.apple.dt.dbg.DebuggerLLDB, DVTPlugInExecutablePathErrorKey=/Applications/Xcode.app/Contents/PlugIns/DebuggerLLDB.ideplugin/Contents/MacOS/DebuggerLLDB, NSLocalizedRecoverySuggestion=The plug-in or one of its prerequisite plug-ins may be missing or damaged and may need to be reinstalled., NSLocalizedDescription=Loading a plug-in failed., NSFilePath=/Applications/Xcode.app/Contents/PlugIns/DebuggerLLDB.ideplugin, NSLocalizedFailureReason=The plug-in \U201ccom.apple.dt.dbg.DebuggerLLDB\U201d at path \U201c/Applications/Xcode.app/Contents/PlugIns/DebuggerLLDB.ideplugin\U201d could not be loaded. The plug-in or one of its prerequisite plug-ins may be missing or damaged., NSUnderlyingError=0x7f9caa1947d0 \"The bundle \U201cDebuggerLLDB\U201d couldn\U2019t be loaded because it is damaged or missing necessary resources.\"}";
}
Hints:
0: Sending performRunAction: to <IDERunPauseContinueToolbarButton: 0x7f9ca5c0e380> from <IDERunPauseContinueToolbarButton: 0x7f9ca5c0e380>
1: Sending performAction: to <DVTDelayedMenuButtonCell: 0x7f9ca5c0e990> from <IDERunPauseContinueToolbarButton: 0x7f9ca5c0e380>
Backtrace:
0 0x00007fff854bc244 __exceptionPreprocess (in CoreFoundation)
1 0x0000000100d8fb10 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
2 0x00007fff8b408e75 objc_exception_throw (in libobjc.A.dylib)
3 0x0000000100c2cd67 -[DVTExtension valueForKey:] (in DVTFoundation)
4 0x00000001064dc10b -[DBGLLDBDebugLocalService operationWorkerWithLaunchSession:error:] (in DebuggerLLDBService)
5 0x000000010aeaa3a0 (in IDEiOSSupportCore)
6 0x0000000101713966 -[IDERunDestination runWorkerForLaunchSession:error:] (in IDEFoundation)
7 0x0000000101713694 -[IDERunDestination runOperationForLaunchSession:error:] (in IDEFoundation)
8 0x00000001019193c3 -[IDELaunchSchemeAction runOperationForExecutionEnvironment:withBuildOperation:buildParameters:buildableProductDirectories:schemeActionRecord:outError:actionCallbackBlock:] (in IDEFoundation)
9 0x0000000101879691 -[IDEScheme _executionOperationForExecutionEnvironment:build:onlyBuild:buildPurpose:buildCommand:schemeCommand:title:overridingProperties:destination:buildLog:filePath:overridingBuildConfiguration:restorePersistedBuildResults:invocationRecord:overridingTestingSpecifiers:error:actionCallbackBlock:] (in IDEFoundation)
10 0x0000000101876c6e -[IDEScheme runWithExecutionContext:buildIfNeeded:onlyBuild:destination:overridingProperties:commandName:invocationRecord:error:] (in IDEFoundation)
11 0x0000000101f1019a -[IDEWorkspaceTabController _actuallyPerformSchemeTask:onScheme:runDestination:command:commandName:buildCommand:filePath:overridingTestingSpecifiers:invocationRecord:completionBlock:] (in IDEKit)
12 0x0000000101f13acd __175-[IDEWorkspaceTabController _performSchemeTask:onScheme:runDestination:command:commandName:buildCommand:filePath:overridingTestingSpecifiers:invocationRecord:completionBlock:]_block_invoke (in IDEKit)
13 0x0000000101f138f2 -[IDEWorkspaceTabController _performSchemeTask:onScheme:runDestination:command:commandName:buildCommand:filePath:overridingTestingSpecifiers:invocationRecord:completionBlock:] (in IDEKit)
14 0x0000000101f145ee __185-[IDEWorkspaceTabController _performDebuggableSchemeTask:onScheme:runDestination:command:commandName:buildCommand:filePath:overridingTestingSpecifiers:invocationRecord:completionBlock:]_block_invoke (in IDEKit)
15 0x0000000101f14b5b -[IDEWorkspaceTabController _forceSwitchToLLDBIfNecessary:preAlertHandler:completionHandler:] (in IDEKit)
16 0x00000001038ccfae -[DVTDeveloperModeAlertHelper askToEnableDeveloperModeIfNecessaryWithCompletionHandler:] (in DVTDeveloperModeHelper)
17 0x0000000101f1449d -[IDEWorkspaceTabController _performDebuggableSchemeTask:onScheme:runDestination:command:commandName:buildCommand:filePath:overridingTestingSpecifiers:invocationRecord:completionBlock:] (in IDEKit)
18 0x0000000101f150ed -[IDEWorkspaceTabController _runScheme:runDestination:invocationRecord:] (in IDEKit)
19 0x0000000101e47420 -[IDEWorkspaceTabController runActiveRunContext:] (in IDEKit)
20 0x0000000101f96c69 -[IDERunPauseContinueToolbarButton performRunAction:] (in IDEKit)
21 0x00007fff8eb16260 -[NSApplication sendAction:to:from:] (in AppKit)
22 0x00000001012f5f85 __37-[DVTApplication sendAction:to:from:]_block_invoke (in DVTKit)
23 0x0000000100d8f842 DVTInvokeWithFailureHint (in DVTFoundation)
24 0x00000001011c3b0e -[DVTApplication sendAction:to:from:] (in DVTKit)
25 0x0000000101346e09 -[DVTDelayedMenuButtonCell performAction:] (in DVTKit)
26 0x00007fff8eb16260 -[NSApplication sendAction:to:from:] (in AppKit)
27 0x00000001012f5f85 __37-[DVTApplication sendAction:to:from:]_block_invoke (in DVTKit)
28 0x0000000100d8f842 DVTInvokeWithFailureHint (in DVTFoundation)
29 0x00000001011c3b0e -[DVTApplication sendAction:to:from:] (in DVTKit)
30 0x000000010128eb0f -[DVTDelayedMenuButtonCell trackMouse:inRect:ofView:untilMouseUp:] (in DVTKit)
31 0x00007fff8eb7b13d -[NSControl mouseDown:] (in AppKit)
32 0x00000001012aa9ef -[DVTMainStatusAwareButton mouseDown:] (in DVTKit)
33 0x00000001012aa980 -[DVTRolloverTrackingButton mouseDown:] (in DVTKit)
34 0x00007fff8eafca58 -[NSWindow sendEvent:] (in AppKit)
35 0x00007fff8ea9b5d4 -[NSApplication sendEvent:] (in AppKit)
36 0x0000000101d40600 -[IDEApplication sendEvent:] (in IDEKit)
37 0x00007fff8e8eb9f9 -[NSApplication run] (in AppKit)
38 0x00007fff8e8d6783 NSApplicationMain (in AppKit)
39 0x00007fff922bb5fd start (in libdyld.dylib)
abort() called
Application Specific Signatures:
NSInternalInconsistencyException

Resources