Xcode 8.2.1 crash when click on .storyboard file - ios

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!!!

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.

Jenkins xcode plugin stringRep should be a non-empty string, but it's an empty string

I'm trying to build an iOS app using jenkins Xcode plugin. Unfortunately it fails with error
stringRep should be a non-empty string, but it's an empty string
Below I put full stack. When I run
/usr/bin/xcodebuild -list -workspace project.xcworkspace
in terminal, it gives correct output.
== Available schemes
[repository] $ /usr/bin/xcodebuild -list -workspace project.xcworkspace
2015-07-18 15:33:40.533 xcodebuild[39418:3378293] [MT] DVTAssertions: ASSERTION FAILURE in /SourceCache/DVTFrameworks/DVTFrameworks-7714/DVTFoundation/MacroExpansion/DVTMacroDefinitionConditionSet.mm:153
Details: stringRep should be a non-empty string, but it's an empty string
Object: <DVTMacroDefinitionConditionSet>
Method: +conditionSetFromStringRepresentation:getBaseMacroName:error:
Thread: <NSThread: 0x7f909152e100>{number = 1, name = main}
Hints: None
Backtrace:
0 0x0000000102a27c07 -[DVTAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in DVTFoundation)
1 0x0000000102a2765f _DVTAssertionHandler (in DVTFoundation)
2 0x0000000102a2794e _DVTAssertionFailureHandler (in DVTFoundation)
3 0x00000001029b581e +[DVTMacroDefinitionConditionSet conditionSetFromStringRepresentation:getBaseMacroName:error:] (in DVTFoundation)
4 0x000000010475f062 -[DVTMacroDefinitionTable(XCMacroExpansionExtensions) _xc_setValue:forMacroName:errorHandler:] (in DevToolsCore)
5 0x000000010475f6a9 __108-[DVTMacroDefinitionTable(XCMacroExpansionExtensions) xc_setMacroNamesAndValuesFromDictionary:errorHandler:]_block_invoke (in DevToolsCore)
6 0x00007fff8fec21f5 __65-[__NSDictionaryI enumerateKeysAndObjectsWithOptions:usingBlock:]_block_invoke (in CoreFoundation)
7 0x00007fff8fec2119 -[__NSDictionaryI enumerateKeysAndObjectsWithOptions:usingBlock:] (in CoreFoundation)
8 0x000000010475f585 -[DVTMacroDefinitionTable(XCMacroExpansionExtensions) xc_setMacroNamesAndValuesFromDictionary:errorHandler:] (in DevToolsCore)
9 0x0000000104762109 -[NSProcessInfo(XCMacroExpansionExtensions) xc_cachedEnvironmentAsMacroDefinitionTable] (in DevToolsCore)
10 0x00000001045357fa -[PBXTarget createMacroExpansionScopeWithBuildParameters:] (in DevToolsCore)
11 0x0000000104537bd2 -[PBXTarget cachedMacroExpansionScopeForBuildParameters:] (in DevToolsCore)
12 0x000000010454c903 -[PBXTarget expandedValueForString:forBuildParameters:] (in DevToolsCore)
13 0x00000001045c1869 -[PBXNativeTarget fullProductNameForConfigurationNamed:] (in DevToolsCore)
14 0x0000000104545d40 -[PBXTarget fullProductName] (in DevToolsCore)
15 0x0000000104505deb -[PBXReference setProducingTarget:] (in DevToolsCore)
16 0x000000010454a480 -[PBXTarget awakeFromPListUnarchiver:] (in DevToolsCore)
17 0x00000001045c2616 -[PBXNativeTarget awakeFromPListUnarchiver:] (in DevToolsCore)
18 0x00007fff8fe6f376 -[NSArray makeObjectsPerformSelector:withObject:] (in CoreFoundation)
19 0x000000010451c864 -[PBXPListUnarchiver decodeRootObject] (in DevToolsCore)
20 0x00000001044e79e0 +[PBXProject projectWithFile:errorHandler:readOnly:] (in DevToolsCore)
21 0x00000001047146ad -[Xcode3Project initWithFilePath:extension:workspace:options:error:] (in DevToolsCore)
22 0x000000010317c71d __82+[IDEContainer _retainedContainerAtFilePath:fileDataType:workspace:options:error:]_block_invoke_2 (in IDEFoundation)
23 0x00007fff91860c13 _dispatch_client_callout (in libdispatch.dylib)
24 0x00007fff91861e5e _dispatch_barrier_sync_f_invoke (in libdispatch.dylib)
25 0x0000000102a609cd DVTDispatchBarrierSync (in DVTFoundation)
26 0x000000010285beb4 -[DVTDispatchLock performLockedBlock:] (in DVTFoundation)
27 0x000000010317c129 __82+[IDEContainer _retainedContainerAtFilePath:fileDataType:workspace:options:error:]_block_invoke (in IDEFoundation)
28 0x0000000102994ace __58-[DVTModelObjectGraph performBlockCoalescingModelChanges:]_block_invoke (in DVTFoundation)
29 0x0000000102a1933a -[DVTModelGraphTransactionScope performTransaction:] (in DVTFoundation)
30 0x00000001029949d9 -[DVTModelObjectGraph performBlockCoalescingModelChanges:] (in DVTFoundation)
31 0x000000010317beb2 +[IDEContainer _retainedContainerAtFilePath:fileDataType:workspace:options:error:] (in IDEFoundation)
32 0x0000000102e6b8f5 +[IDEContainer retainedContainerAtFilePath:fileDataType:workspace:error:] (in IDEFoundation)
33 0x00000001031419dc -[IDEFileReference _recalculateReferencedContainer] (in IDEFoundation)
34 0x0000000102e7e27b -[IDEFileReference referencedContainer] (in IDEFoundation)
35 0x000000010317a9da __62-[IDEContainer _scheduleResolvePendingFileReferencesOperation]_block_invoke (in IDEFoundation)
36 0x00000001029a00c8 -[_DVTAsynchronousRequest _invokeBlock:] (in DVTFoundation)
37 0x00007fff90aa941b __NSFireDelayedPerform (in Foundation)
38 0x00007fff8feb52e4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ (in CoreFoundation)
39 0x00007fff8feb4f73 __CFRunLoopDoTimer (in CoreFoundation)
40 0x00007fff8ff2853d __CFRunLoopDoTimers (in CoreFoundation)
41 0x00007fff8fe70608 __CFRunLoopRun (in CoreFoundation)
42 0x00007fff8fe6fbd8 CFRunLoopRunSpecific (in CoreFoundation)
43 0x0000000102996f0b +[DVTKVOConditionValidator waitForCondition:sourceObject:keyPathAffectingConditionBlock:timeout:] (in DVTFoundation)
44 0x000000010358c7e3 -[Xcode3CommandLineBuildTool _resolveInputOptionsWithTimingSection:] (in Xcode3Core)
45 0x000000010359c685 -[Xcode3CommandLineBuildTool run] (in Xcode3Core)
46 0x00000001028509be (in xcodebuild)
47 0x00007fff8b5b45c9 start (in libdyld.dylib)
48 0x0000000000000004
I have latest Xcode. Appreciate any help, thanks
found the solution, what helped me wast to set SDK in Xcode plugin to value returned by xcodebuild -sdk, which was iphoneos8.4.
it worked for me after I restarted Jenkins. The problem was that I had just installed xcode plugin and didn't restart the server 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

Jenkins fails when compiling .xib

I am building an iPad app with Jenkins and it consistently fails when compiling a single .xib. The app compiles perfectly fine in XCode. The part of the Jenkins log that fails is:
CompileXIB Runner/Controllers/UserProfileCoTravelerIndividualViewController.xib
cd /var/jenkins/.jenkins/jobs/Runner/workspace
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
export XCODE_DEVELOPER_USR_PATH=/Applications/Xcode.app/Contents/Developer/usr/bin/..
/Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --minimum-deployment-target 5.1 --output-format human-readable-text --compile /var/jenkins/.jenkins/jobs/Runner/workspace/build/Release-iphoneos/Runner.app/UserProfileCoTravelerIndividualViewController.nib /var/jenkins/.jenkins/jobs/Runner/workspace/Runner/Controllers/UserProfileCoTravelerIndividualViewController.xib
2014-04-02 12:18:42.884 ibtoold[37071:507] [MT] DVTAssertions: ASSERTION FAILURE in /SourceCache/IDEInterfaceBuilderCocoaTouch/IDEInterfaceBuilderCocoaTouch-5038/InterfaceBuilder/WidgetIntegration/SimulatedMetrics/IBUISimulatedSizeMetrics.m:33
Details: (initialTargetRuntime) should not be nil.
Object: <IBUIFixedSimulatedSizeMetrics: 0x7fb6a480ae70>
Method: -initWithTargetRuntime:
Thread: <NSThread: 0x7fb6a1d05fb0>{name = (null), num = 1}
Hints: None
Backtrace:
0 0x0000000104a5dd51 -[DVTAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in DVTFoundation)
1 0x0000000104a5d7a9 _DVTAssertionHandler (in DVTFoundation)
2 0x0000000104a5da8f _DVTAssertionFailureHandler (in DVTFoundation)
3 0x0000000109cb67c0 (in IDEInterfaceBuilderCocoaTouchIntegration)
4 0x0000000109cb7047 (in IDEInterfaceBuilderCocoaTouchIntegration)
5 0x0000000109cb734a (in IDEInterfaceBuilderCocoaTouchIntegration)
6 0x0000000109cffc4e (in IDEInterfaceBuilderCocoaTouchIntegration)
7 0x0000000109cff682 (in IDEInterfaceBuilderCocoaTouchIntegration)
8 0x0000000109d0033c (in IDEInterfaceBuilderCocoaTouchIntegration)
9 0x0000000109ca23c8 (in IDEInterfaceBuilderCocoaTouchIntegration)
10 0x0000000103af2b0c -[IBXMLDecoder deserializeObject:fromXMLElement:] (in IDEInterfaceBuilderKit)
11 0x0000000103af37f2 __36-[IBXMLDecoder objectForXMLElement:]_block_invoke (in IDEInterfaceBuilderKit)
12 0x0000000103af344f -[IBXMLDecoder invokeRestoringDecodingStack:] (in IDEInterfaceBuilderKit)
13 0x0000000103af35f9 -[IBXMLDecoder objectForXMLElement:] (in IDEInterfaceBuilderKit)
14 0x0000000103af2681 __48-[IBXMLDecoder deserializeArray:fromXMLElement:]_block_invoke (in IDEInterfaceBuilderKit)
15 0x0000000103cc3c3a -[IBXMLDecoderAbstractObjectElement enumerateElements:] (in IDEInterfaceBuilderKit)
16 0x0000000103af2607 -[IBXMLDecoder deserializeArray:fromXMLElement:] (in IDEInterfaceBuilderKit)
17 0x0000000103af37f2 __36-[IBXMLDecoder objectForXMLElement:]_block_invoke (in IDEInterfaceBuilderKit)
18 0x0000000103af344f -[IBXMLDecoder invokeRestoringDecodingStack:] (in IDEInterfaceBuilderKit)
19 0x0000000103af35f9 -[IBXMLDecoder objectForXMLElement:] (in IDEInterfaceBuilderKit)
20 0x0000000103b705e6 -[IBObjectRecord initWithCoder:] (in IDEInterfaceBuilderKit)
21 0x0000000103af2b0c -[IBXMLDecoder deserializeObject:fromXMLElement:] (in IDEInterfaceBuilderKit)
22 0x0000000103af37f2 __36-[IBXMLDecoder objectForXMLElement:]_block_invoke (in IDEInterfaceBuilderKit)
23 0x0000000103af344f -[IBXMLDecoder invokeRestoringDecodingStack:] (in IDEInterfaceBuilderKit)
24 0x0000000103af35f9 -[IBXMLDecoder objectForXMLElement:] (in IDEInterfaceBuilderKit)
25 0x0000000103af2681 __48-[IBXMLDecoder deserializeArray:fromXMLElement:]_block_invoke (in IDEInterfaceBuilderKit)
26 0x0000000103cc3c3a -[IBXMLDecoderAbstractObjectElement enumerateElements:] (in IDEInterfaceBuilderKit)
27 0x0000000103af2607 -[IBXMLDecoder deserializeArray:fromXMLElement:] (in IDEInterfaceBuilderKit)
28 0x0000000103af37f2 __36-[IBXMLDecoder objectForXMLElement:]_block_invoke (in IDEInterfaceBuilderKit)
29 0x0000000103af344f -[IBXMLDecoder invokeRestoringDecodingStack:] (in IDEInterfaceBuilderKit)
30 0x0000000103af35f9 -[IBXMLDecoder objectForXMLElement:] (in IDEInterfaceBuilderKit)
31 0x000000010493ac46 -[DVTMutableOrderedSet initWithCoder:] (in DVTFoundation)
32 0x0000000103af2b0c -[IBXMLDecoder deserializeObject:fromXMLElement:] (in IDEInterfaceBuilderKit)
33 0x0000000103af37f2 __36-[IBXMLDecoder objectForXMLElement:]_block_invoke (in IDEInterfaceBuilderKit)
34 0x0000000103af344f -[IBXMLDecoder invokeRestoringDecodingStack:] (in IDEInterfaceBuilderKit)
35 0x0000000103af35f9 -[IBXMLDecoder objectForXMLElement:] (in IDEInterfaceBuilderKit)
36 0x0000000103b5f664 -[IBObjectContainer decodeObjectsWithCoder:] (in IDEInterfaceBuilderKit)
37 0x0000000103b6123d -[IBObjectContainer initWithCoder:] (in IDEInterfaceBuilderKit)
38 0x0000000103af2b0c -[IBXMLDecoder deserializeObject:fromXMLElement:] (in IDEInterfaceBuilderKit)
39 0x0000000103af37f2 __36-[IBXMLDecoder objectForXMLElement:]_block_invoke (in IDEInterfaceBuilderKit)
40 0x0000000103af344f -[IBXMLDecoder invokeRestoringDecodingStack:] (in IDEInterfaceBuilderKit)
41 0x0000000103af35f9 -[IBXMLDecoder objectForXMLElement:] (in IDEInterfaceBuilderKit)
42 0x0000000103a9ea98 -[IBDocument decodeDocumentOfType:withCoder:] (in IDEInterfaceBuilderKit)
43 0x0000000109ca67b7 (in IDEInterfaceBuilderCocoaTouchIntegration)
44 0x0000000103a9f5d8 -[IBDocument decodeContentFileWrapper:fileDataType:typeName:decodingStyle:error:] (in IDEInterfaceBuilderKit)
45 0x0000000103a9fad9 -[IBDocument readFromFileWrapper:ofType:error:] (in IDEInterfaceBuilderKit)
46 0x0000000109ca69ac (in IDEInterfaceBuilderCocoaTouchIntegration)
47 0x0000000109cab455 (in IDEInterfaceBuilderCocoaTouchIntegration)
48 0x0000000109ca6909 (in IDEInterfaceBuilderCocoaTouchIntegration)
49 0x00007fff85a87098 -[NSDocument readFromURL:ofType:error:] (in AppKit)
50 0x0000000103a97027 __39-[IBDocument readFromURL:ofType:error:]_block_invoke (in IDEInterfaceBuilderKit)
51 0x0000000103ace04f -[IBDocument invokeWithUndoSuppressed:] (in IDEInterfaceBuilderKit)
52 0x0000000103a96d4f -[IBDocument readFromURL:ofType:error:] (in IDEInterfaceBuilderKit)
53 0x000000010388cb32 (in ibtoold)
54 0x0000000103887e76 (in ibtoold)
55 0x000000010388e3ad (in ibtoold)
56 0x0000000103898b65 (in ibtoold)
57 0x00000001038990c0 (in ibtoold)
58 0x0000000103898f90 (in ibtoold)
59 0x00000001038973e7 (in ibtoold)
60 0x00000001038987b7 (in ibtoold)
61 0x0000000103897d6e (in ibtoold)
62 0x00007fff8152b5fd start (in libdyld.dylib)
** BUILD FAILED **
The following build commands failed:
CompileXIB Runner/Controllers/UserProfileMyAccountMyDetailsViewController.xib
(1 failure)
Build step 'Xcode' marked build as failure
Archiving artifacts
Finished: FAILURE
I've tried setting Jenkins to clean before creating a new build. Any ideas why this failure is occurring?
In my case I had the xib file imported two times in .xcodeproj
Open .xcodeproj with Sublime Text (for example). And look for your file. If it's there 2 times on import, remove one of the lines (be careful not to remove anything else).
See if this fixes your problem.

Resources