Switch between Xcode 6 and Xcode 4.5 - ios

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?

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 crashing when trying to run on iOS 13.2 device

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.

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.

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

xcode crashed while trying to run on simulator

since i updated my xcode to version 5.1.1 my builds / running on a simulator / device faild with a long problem report.
here is a small part of the bug report:
Process: Xcode [569]
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 [171]
Responsible: Xcode [569]
User ID: 501
Date/Time: 2014-05-20 17:53:11.050 +0200
OS Version: Mac OS X 10.9 (13A497d)
Report Version: 11
Anonymous UUID: A73022B3-59C3-407B-C950-F4C9E0B2F9B4
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: 0x7f8bee87b640> from <IDERunPauseContinueToolbarButton: 0x7f8bee87b640>
ProductBuildVersion: 5B1008
UNCAUGHT EXCEPTION (NSInvalidArgumentException): must provide a file handle or pipe
UserInfo: (null)
Hints:
0: Sending performRunAction: to <IDERunPauseContinueToolbarButton: 0x7f8bee87b640> from <IDERunPauseContinueToolbarButton: 0x7f8bee87b640>
1: Sending performAction: to <DVTDelayedMenuButtonCell: 0x7f8bee87bc50> from <IDERunPauseContinueToolbarButton: 0x7f8bee87b640>
Backtrace:
0 0x00007fff93d07024 __exceptionPreprocess (in CoreFoundation)
1 0x000000010d136b10 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
2 0x00007fff93e6be15 objc_exception_throw (in libobjc.A.dylib)
3 0x00007fff93d06e2c +[NSException raise:format:] (in CoreFoundation)
4 0x00007fff92a285c5 NOCOPY_SETTER_IMPL (in Foundation)
5 0x000000010fd8ba7d -[DVTDeveloperModeHelper isDeveloperModeEnabled] (in DVTDeveloperModeHelper)
6 0x000000010fd8be72 -[DVTDeveloperModeAlertHelper shouldAskUserAboutDeveloperMode] (in DVTDeveloperModeHelper)
7 0x000000010fd8bedc -[DVTDeveloperModeAlertHelper askToEnableDeveloperModeIfNecessaryWithCompletionHandler:] (in DVTDeveloperModeHelper)
8 0x000000010e2c149d -[IDEWorkspaceTabController _performDebuggableSchemeTask:onScheme:runDestination:command:commandName:buildCommand:filePath:overridingTestingSpecifiers:invocationRecord:completionBlock:] (in IDEKit)
9 0x000000010e2c20ed -[IDEWorkspaceTabController _runScheme:runDestination:invocationRecord:] (in IDEKit)
10 0x000000010e1f4420 -[IDEWorkspaceTabController runActiveRunContext:] (in IDEKit)
11 0x000000010e343c69 -[IDERunPauseContinueToolbarButton performRunAction:] (in IDEKit)
12 0x00007fff8b62e7ba -[NSApplication sendAction:to:from:] (in AppKit)
13 0x000000010d69af85 __37-[DVTApplication sendAction:to:from:]_block_invoke (in DVTKit)
14 0x000000010d136842 DVTInvokeWithFailureHint (in DVTFoundation)
15 0x000000010d568b0e -[DVTApplication sendAction:to:from:] (in DVTKit)
16 0x000000010d6ebe09 -[DVTDelayedMenuButtonCell performAction:] (in DVTKit)
17 0x00007fff8b62e7ba -[NSApplication sendAction:to:from:] (in AppKit)
18 0x000000010d69af85 __37-[DVTApplication sendAction:to:from:]_block_invoke (in DVTKit)
19 0x000000010d136842 DVTInvokeWithFailureHint (in DVTFoundation)
20 0x000000010d568b0e -[DVTApplication sendAction:to:from:] (in DVTKit)
21 0x000000010d633b0f -[DVTDelayedMenuButtonCell trackMouse:inRect:ofView:untilMouseUp:] (in DVTKit)
22 0x00007fff8b62bb96 -[NSControl mouseDown:] (in AppKit)
23 0x000000010d64f9ef -[DVTMainStatusAwareButton mouseDown:] (in DVTKit)
24 0x000000010d64f980 -[DVTRolloverTrackingButton mouseDown:] (in DVTKit)
25 0x00007fff8b625261 -[NSWindow sendEvent:] (in AppKit)
26 0x00007fff8b61f888 -[NSApplication sendEvent:] (in AppKit)
27 0x000000010e0ed600 -[IDEApplication sendEvent:] (in IDEKit)
28 0x00007fff8b540949 -[NSApplication run] (in AppKit)
29 0x00007fff8b4ea9e3 NSApplicationMain (in AppKit)
30 0x00007fff92c9560d start (in libdyld.dylib)
31 0x0000000000000001
Does someone have an idea how to solve this bug? does it have to do with the code? or is it just a upgrade thing to xcode 5?
thanks!
Reset the simulator (Menu item iOS Simulator -> Reset Content and Settings ...).
Go to the XCode Product menu, hold down Alt and click Clean Build Folder.
Go to the XCode Organiser Projects tab and delete the derived data for the project.
Finally close and restart Xcode and the simulator.
If that doesn't work, try deleting the simulator data in your application support library - the folder ~/Library/Application Support/iPhone Simulator.
There are many ways that the XCode can get itself into an inconsistent state. The above procedure should sort it out in most cases.

Resources