Xcode 6.4 crash during submission to app store.

When I archive my app, pull up organizer, press the "Submit to app store..." button then select my team and when I press "Choose" for the team Xcode crashes with the following error.


Process:               Xcode [4046]
Path:                  /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier:            com.apple.dt.Xcode
Version:               6.4 (7720)
Build Info:            IDEFrameworks-7720000000000000~8
App Item ID:           497799835
App External ID:       812725084
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Xcode [4046]
User ID:               503


Date/Time:             2015-07-28 10:00:00.299 -0400
OS Version:            Mac OS X 10.11 (15A235d)
Report Version:        11
Anonymous UUID:        41A54380-8EA9-B9EE-DC5E-110BFD52D9D8


Sleep/Wake UUID:       3502C7A1-6EA0-46F1-BC9F-A9DE419BCDB2


Time Awake Since Boot: 5200 seconds
Time Since Wake:       4100 seconds


Crashed Thread:        0  Dispatch queue: com.apple.main-thread


Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY


Application Specific Information:
ProductBuildVersion: 6E35b
UNCAUGHT EXCEPTION (NSInternalInconsistencyException): NSDictionaryOfVariableBindings failed because either one of the values is nil, or there's something wrong with the way the macro is being invoked.  Cannot assign value nil for key "contentView". Keys:(
    contentView
)
UserInfo: (null)
Hints: None
Backtrace:
  0  0x00007fff9549f9b4 __exceptionPreprocess (in CoreFoundation)
  1  0x000000010fa43c34 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
  2  0x00007fff9754c052 objc_exception_throw (in libobjc.A.dylib)
  3  0x00007fff9549f87d +[NSException raise:format:] (in CoreFoundation)
  4  0x00007fff9bf3af7a _NSDictionaryOfVariableBindings (in Foundation)
  5  0x000000010fff680e -[DVTControllerContentView updateConstraints] (in DVTKit)
  6  0x00007fff8de46f3a -[NSViewController updateViewConstraints] (in AppKit)
  7  0x00007fff8de30511 -[NSView _updateConstraintsForSubtreeIfNeededCollectingViewsWithInvalidBaselines:] (in AppKit)
  8  0x00007fff8de3043e -[NSView _updateConstraintsForSubtreeIfNeededCollectingViewsWithInvalidBaselines:] (in AppKit)
  9  0x00007fff8de3043e -[NSView _updateConstraintsForSubtreeIfNeededCollectingViewsWithInvalidBaselines:] (in AppKit)
10  0x00007fff8de30821 __82-[NSView _updateConstraintsForSubtreeIfNeededCollectingViewsWithInvalidBaselines:]_block_invoke (in AppKit)
11  0x00007fff9bf489b9 -[NSISEngine withBehaviors:performModifications:] (in Foundation)
12  0x00007fff8de30344 -[NSView _updateConstraintsForSubtreeIfNeededCollectingViewsWithInvalidBaselines:] (in AppKit)
13  0x00007fff8de301aa __45-[NSView updateConstraintsForSubtreeIfNeeded]_block_invoke (in AppKit)
14  0x00007fff9bf489b9 -[NSISEngine withBehaviors:performModifications:] (in Foundation)
15  0x00007fff8dca66fb -[NSView(NSConstraintBasedLayout) _withAutomaticEngineOptimizationDisabled:] (in AppKit)
16  0x00007fff8de30151 -[NSView updateConstraintsForSubtreeIfNeeded] (in AppKit)
17  0x00007fff8de300cb __62-[NSWindow(NSConstraintBasedLayout) updateConstraintsIfNeeded]_block_invoke (in AppKit)
18  0x00007fff9bf489b9 -[NSISEngine withBehaviors:performModifications:] (in Foundation)
19  0x00007fff8dca66fb -[NSView(NSConstraintBasedLayout) _withAutomaticEngineOptimizationDisabled:] (in AppKit)
20  0x00007fff8de2ffea -[NSWindow(NSConstraintBasedLayout) updateConstraintsIfNeeded] (in AppKit)
21  0x00007fff8e472d95 ___NSWindowGetDisplayCycleObserver_block_invoke (in AppKit)
22  0x00007fff8e0c6322 __37+[NSDisplayCycle currentDisplayCycle]_block_invoke (in AppKit)
23  0x00007fff8c2cd6f9 CA::Transaction::run_commit_handlers(CATransactionPhase) (in QuartzCore)
24  0x00007fff8c168690 CA::Context::commit_transaction(CA::Transaction*) (in QuartzCore)
25  0x00007fff8c168438 CA::Transaction::commit() (in QuartzCore)
26  0x00007fff8df58f5c -[NSProgressIndicator startAnimation:] (in AppKit)
27  0x0000000110e48a2d -[IDEDistributionProgressViewController loadView] (in IDEKit)
28  0x00007fff8ddea20b -[NSViewController _loadViewIfRequired] (in AppKit)
29  0x00007fff8ddea176 -[NSViewController view] (in AppKit)
30  0x000000010fe97951 -[DVTViewController view] (in DVTKit)
31  0x0000000110e48edd -[IDEDistributionPackagingStepViewController viewDidInstall] (in IDEKit)
32  0x00000001100b9e0f -[DVTViewController _didInstallContentView:] (in DVTKit)
33  0x000000010feaafac -[DVTControllerContentView _viewDidInstall] (in DVTKit)
34  0x000000010feaa83c -[DVTControllerContentView viewDidMoveToWindow] (in DVTKit)
35  0x00007fff8dca618c -[NSView _setWindow:] (in AppKit)
36  0x00007fff8dcb0eb7 -[NSView addSubview:] (in AppKit)
37  0x00007fff8de60d97 -[NSView setSubviews:] (in AppKit)
38  0x000000010fe9d0f7 -[DVTBorderedView setContentView:] (in DVTKit)
39  0x0000000110e40f16 -[IDEDistributionAssistantWindowController setDistributionStep:] (in IDEKit)
40  0x00007fff9bf173f4 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKey:key:key:usingBlock:] (in Foundation)
41  0x00007fff9bf73a49 _NSSetObjectValueAndNotify (in Foundation)
42  0x0000000110e42063 -[IDEDistributionAssistantWindowController next:] (in IDEKit)
43  0x0000000110f87132 __75-[IDEDistributionSigningAssetsStepViewController _locateSigningAssetsAsync]_block_invoke (in IDEKit)
44  0x00007fff927925b1 _dispatch_call_block_and_release (in libdispatch.dylib)
45  0x00007fff9278e3f1 _dispatch_client_callout (in libdispatch.dylib)
46  0x00007fff9279fbae _dispatch_main_queue_callback_4CF (in libdispatch.dylib)
47  0x00007fff953e70b9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ (in CoreFoundation)
48  0x00007fff953a289d __CFRunLoopRun (in CoreFoundation)
49  0x00007fff953a1e98 CFRunLoopRunSpecific (in CoreFoundation)
50  0x00007fff8fe04675 RunCurrentEventLoopInMode (in HIToolbox)
51  0x00007fff8fe0440b ReceiveNextEventCommon (in HIToolbox)
52  0x00007fff8fe0424b _BlockUntilNextEventMatchingListInModeWithFilter (in HIToolbox)
53  0x00007fff8dcff60f _DPSNextEvent (in AppKit)
54  0x00007fff8e0cce9c -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] (in AppKit)
55  0x000000010ffc5aaa -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in DVTKit)
56  0x00007fff8dcf549a -[NSApplication run] (in AppKit)
57  0x00007fff8dc77522 NSApplicationMain (in AppKit)
58  0x00007fff90dc75ad start (in libdyld.dylib)
59  0x0000000000000001

abort() called


Application Specific Signatures:
NSInternalInconsistencyException


Application Specific Backtrace 1:
0   CoreFoundation                      0x00007fff9549f9cc __exceptionPreprocess + 172
1   DVTFoundation                       0x000000010fa43c34 DVTFailureHintExceptionPreprocessor + 194
2   libobjc.A.dylib                     0x00007fff9754c052 objc_exception_throw + 48
3   CoreFoundation                      0x00007fff9549f87d +[NSException raise:format:] + 205
4   Foundation                          0x00007fff9bf3af7a _NSDictionaryOfVariableBindings + 885
5   DVTKit                              0x000000010fff680e -[DVTControllerContentView updateConstraints] + 193
6   AppKit                              0x00007fff8de46f3a -[NSViewController updateViewConstraints] + 49
7   AppKit                              0x00007fff8de30511 -[NSView _updateConstraintsForSubtreeIfNeededCollectingViewsWithInvalidBaselines:] + 683
8   AppKit                              0x00007fff8de3043e -[NSView _updateConstraintsForSubtreeIfNeededCollectingViewsWithInvalidBaselines:] + 472
9   AppKit                              0x00007fff8de3043e -[NSView _updateConstraintsForSubtreeIfNeededCollectingViewsWithInvalidBaselines:] + 472
10  AppKit                              0x00007fff8de30821 __82-[NSView _updateConstraintsForSubtreeIfNeededCollectingViewsWithInvalidBaselines:]_block_invoke + 275
11  Foundation                          0x00007fff9bf489b9 -[NSISEngine withBehaviors:performModifications:] + 155
12  AppKit                              0x00007fff8de30344 -[NSView _updateConstraintsForSubtreeIfNeededCollectingViewsWithInvalidBaselines:] + 222
13  AppKit                              0x00007fff8de301aa __45-[NSView updateConstraintsForSubtreeIfNeeded]_block_invoke + 49
14  Foundation                          0x00007fff9bf489b9 -[NSISEngine withBehaviors:performModifications:] + 155
15  AppKit                              0x00007fff8dca66fb -[NSView(NSConstraintBasedLayout) _withAutomaticEngineOptimizationDisabled:] + 70
16  AppKit                              0x00007fff8de30151 -[NSView updateConstraintsForSubtreeIfNeeded] + 102
17  AppKit                              0x00007fff8de300cb __62-[NSWindow(NSConstraintBasedLayout) updateConstraintsIfNeeded]_block_invoke + 141
18  Foundation                          0x00007fff9bf489b9 -[NSISEngine withBehaviors:performModifications:] + 155
19  AppKit                              0x00007fff8dca66fb -[NSView(NSConstraintBasedLayout) _withAutomaticEngineOptimizationDisabled:] + 70
20  AppKit                              0x00007fff8de2ffea -[NSWindow(NSConstraintBasedLayout) updateConstraintsIfNeeded] + 230
21  AppKit                              0x00007fff8e472d95 ___NSWindowGetDisplayCycleObserver_block_invoke + 221
22  AppKit                              0x00007fff8e0c6322 __37+[NSDisplayCycle currentDisplayCycle]_block_invoke + 297
23  QuartzCore                          0x00007fff8c2cd6f9 _ZN2CA11Transaction19run_commit_handlersE18CATransactionPhase + 85
24  QuartzCore                          0x00007fff8c168690 _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 160
25  QuartzCore                          0x00007fff8c168438 _ZN2CA11Transaction6commitEv + 508
26  AppKit                              0x00007fff8df58f5c -[NSProgressIndicator startAnimation:] + 433
27  IDEKit                              0x0000000110e48a2d -[IDEDistributionProgressViewController loadView] + 91
28  AppKit                              0x00007fff8ddea20b -[NSViewController _loadViewIfRequired] + 75
29  AppKit                              0x00007fff8ddea176 -[NSViewController view] + 30
30  DVTKit                              0x000000010fe97951 -[DVTViewController view] + 39
31  IDEKit                              0x0000000110e48edd -[IDEDistributionPackagingStepViewController viewDidInstall] + 313
32  DVTKit                              0x00000001100b9e0f -[DVTViewController _didInstallContentView:] + 244
33  DVTKit                              0x000000010feaafac -[DVTControllerContentView _viewDidInstall] + 330
34  DVTKit                              0x000000010feaa83c -[DVTControllerContentView viewDidMoveToWindow] + 97
35  AppKit                              0x00007fff8dca618c -[NSView _setWindow:] + 3179
36  AppKit                              0x00007fff8dcb0eb7 -[NSView addSubview:] + 475
37  AppKit                              0x00007fff8de60d97 -[NSView setSubviews:] + 931
38  DVTKit                              0x000000010fe9d0f7 -[DVTBorderedView setContentView:] + 193
39  IDEKit                              0x0000000110e40f16 -[IDEDistributionAssistantWindowController setDistributionStep:] + 143
40  Foundation                          0x00007fff9bf173f4 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKey:key:key:usingBlock:] + 702
41  Foundation                          0x00007fff9bf73a49 _NSSetObjectValueAndNotify + 274
42  IDEKit                              0x0000000110e42063 -[IDEDistributionAssistantWindowController next:] + 887
43  IDEKit                              0x0000000110f87132 __75-[IDEDistributionSigningAssetsStepViewController _locateSigningAssetsAsync]_block_invoke + 2417
44  libdispatch.dylib                   0x00007fff927925b1 _dispatch_call_block_and_release + 12
45  libdispatch.dylib                   0x00007fff9278e3f1 _dispatch_client_callout + 8
46  libdispatch.dylib                   0x00007fff9279fbae _dispatch_main_queue_callback_4CF + 1685
47  CoreFoundation                      0x00007fff953e70b9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
48  CoreFoundation                      0x00007fff953a289d __CFRunLoopRun + 1949
49  CoreFoundation                      0x00007fff953a1e98 CFRunLoopRunSpecific + 296
50  HIToolbox                           0x00007fff8fe04675 RunCurrentEventLoopInMode + 235
51  HIToolbox                           0x00007fff8fe0440b ReceiveNextEventCommon + 432
52  HIToolbox                           0x00007fff8fe0424b _BlockUntilNextEventMatchingListInModeWithFilter + 71
53  AppKit                              0x00007fff8dcff60f _DPSNextEvent + 1076
54  AppKit                              0x00007fff8e0cce9c -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 423
55  DVTKit                              0x000000010ffc5aaa -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 237
56  AppKit                              0x00007fff8dcf549a -[NSApplication run] + 682
57  AppKit                              0x00007fff8dc77522 NSApplicationMain + 1176
58  libdyld.dylib                       0x00007fff90dc75ad start + 1
59  ???                                 0x0000000000000001 0x0 + 1



Anyone have any ideas before I burn a support request?


I have tried the following:

cleaning

deleting derived data

submitting with only the organizer window open in Xcode
validating instead of submitting

refreshing my account and provisioning profiles


Thanks

Same, on OSX 10.11 Beta (15A235d)

Process: Xcode [6898]

Path: /Applications/Xcode.app/Contents/MacOS/Xcode

Identifier: com.apple.dt.Xcode

Version: 6.4 (7720)

Build Info: IDEFrameworks-7720000000000000~8

App Item ID: 497799835

App External ID: 812725084

Code Type: X86-64 (Native)

Parent Process: ??? [1]

Responsible: Xcode [6898]

User ID: 501



Date/Time: 2015-07-28 13:59:45.768 -0700

OS Version: Mac OS X 10.11 (15A235d)

Report Version: 11

Anonymous UUID: C43013DA-8420-247E-D1EB-1090234E81AA



Sleep/Wake UUID: D9F5D7B1-C21A-48A3-B510-98599B4E0904



Time Awake Since Boot: 9400 seconds



Crashed Thread: 0 Dispatch queue: com.apple.main-thread



Exception Type: EXC_CRASH (SIGABRT)

Exception Codes: 0x0000000000000000, 0x0000000000000000

Exception Note: EXC_CORPSE_NOTIFY



Application Specific Information:

ProductBuildVersion: 6E35b

UNCAUGHT EXCEPTION (NSInternalInconsistencyException): NSDictionaryOfVariableBindings failed because either one of the values is nil, or there's something wrong with the way the macro is being invoked. Cannot assign value nil for key "contentView". Keys:(

contentView

)

UserInfo: (null)

Hints: None

Backtrace:

0 0x00007fff8f0959b4 __exceptionPreprocess (in CoreFoundation)

1 0x0000000109e39c34 DVTFailureHintExceptionPreprocessor (in DVTFoundation)

2 0x00007fff89149052 objc_exception_throw (in libobjc.A.dylib)

3 0x00007fff8f09587d +[NSException raise:format:] (in CoreFoundation)

4 0x00007fff819c8f7a _NSDictionaryOfVariableBindings (in Foundation)

5 0x000000010a3ef80e -[DVTControllerContentView updateConstraints] (in DVTKit)

6 0x00007fff8b18bf3a -[NSViewController updateViewConstraints] (in AppKit)

7 0x00007fff8b175511 -[NSView _updateConstraintsForSubtreeIfNeededCollectingViewsWithInvalidBaselines:] (in AppKit)

8 0x00007fff8b17543e -[NSView _updateConstraintsForSubtreeIfNeededCollectingViewsWithInvalidBaselines:] (in AppKit)

9 0x00007fff8b17543e -[NSView _updateConstraintsForSubtreeIfNeededCollectingViewsWithInvalidBaselines:] (in AppKit)

10 0x00007fff8b175821 __82-[NSView _updateConstraintsForSubtreeIfNeededCollectingViewsWithInvalidBaselines:]_block_invoke (in AppKit)

11 0x00007fff819d69b9 -[NSISEngine withBehaviors:performModifications:] (in Foundation)

mework (6.4 - 7701) <D5247D3A-CA95-39A2-A86E-130B5DD3FCB5> /Applications/Xcode.app/Contents/SharedFrameworks/HexFiend.framework/Versions/A/HexFiend

0x113b95000 - 0x113b98fff com.apple.dt.dbg.DebuggerKit (1.0 - 1) <E885ED31-4980-3F48-88C8-0B1A7AD3325A> /Applications/Xcode.app/Contents/PlugIns/DebuggerKit.ideplugin/Contents/MacOS/DebuggerKit

0x113ba1000 - 0x113c70fff com.apple.dt.dbg.DebuggerUI (6.4 - 7701) <7A6A6AC9-9D76-3ED6-BA5F-63F663BFC9D4> /Applications/Xcode.app/Contents/PlugIns/DebuggerUI.ideplugin/Contents/MacOS/DebuggerUI

0x113d1e000 - 0x1141e2fff com.apple.SceneKit (5.0 - 293) <09673FE3-445C-3019-9204-ACDE593A1C43> /System/Library/Frameworks/SceneKit.framework/Versions/A/SceneKit

0x1144c0000 - 0x114503ff7 com.apple.dt.IDEProductsUI (1.0 - 1) <A6866281-26D5-3804-8D28-A1639AA0D3BD> /Applications/Xcode.app/Contents/PlugIns/IDEProductsUI.ideplugin/Contents/MacOS/IDEProductsUI

0x11454b000 - 0x114555ff7 com.apple.dt.DVTServices (6.4 - 7714) <938386AA-EDBD-3440-BCB2-A43BA34003A4> /Applications/Xcode.app/Contents/SharedFrameworks/DVTServices.framework/Versions/A/DVTServices

0x114562000 - 0x11457efff com.apple.dt.DVTProducts (1.0 - 1) <698D5E2D-D9BC-3232-AA7F-3DFB6BA8ED07> /Applications/Xcode.app/Contents/SharedFrameworks/DVTProducts.framework/Versions/A/DVTProducts

0x114596000 - 0x1145b3fff com.apple.dt.DVTAnalytics (1.0 - 1) <92DD8EE2-A49B-33ED-9A59-C4DC16E5DDE6> /Applications/Xcode.app/Contents/SharedFrameworks/DVTAnalytics.framework/Versions/A/DVTAnalytics

0x1145d2000 - 0x1145e1fff com.apple.dt.DVTAnalyticsClient (6.4 - 1) <81A25EAD-317B-3453-A2B2-ABC2DEC9771F> /Applications/Xcode.app/Contents/SharedFrameworks/DVTAnalyticsClient.framework/Versions/A/DVTAnalyticsClient

0x1145fb000 - 0x114634fff com.apple.dt.gpu.GPUDebuggerFoundation (6.4 - 17700) <1699D741-7AE4-36D0-A802-AE0CECB5C503> /Applications/Xcode.app/Contents/PlugIns/GPUDebuggerFoundation.ideplugin/Contents/MacOS/GPUDebuggerFoundation

0x114664000 - 0x114670ff7 com.apple.GPUToolsShaderProfiler (1.0 - 17700) <663EC943-1936-3DA5-8DEF-DF6A19C993A0> /Applications/Xcode.app/Contents/SharedFrameworks/GPUToolsShaderProfiler.framework/Versions/A/GPUToolsShaderProfiler

0x11467f000 - 0x1146bfff7 com.apple.GPUToolsCore (1.0 - 17700) <AAD11623-71D0-3757-9D05-354F71E6762C> /Applications/Xcode.app/Contents/SharedFrameworks/GPUToolsCore.framework/Versions/A/GPUToolsCore

0x1146f5000 - 0x11472cffb com.apple.GPUTools (1.0 - 17700) <36BCF928-6C0B-3DC5-A330-73736CB7CCCF> /Applications/Xcode.app/Contents/SharedFrameworks/GPUTools.framework/Versions/A/GPUTools

Filed #22037809

Just confirmed this is working ok in xcode7 ¯\_(ツ)_/¯

Same with me. How to fix it?

😢 How to fix it

I've got the same problem on 10.11 (15A235d) for Xcode 6.4.

I've got the same problem running Xcode 6.4 on the El Capitan beta 5. 😟

Same bug,
Try with differents apps, crash all the times
Xcode 6.4
OS El Captain beta 5.

Same here, crash on submit to AppStore or export.

Xcode 6.4

OS El Captain beta 5.


Note to self: don't bother with beta software

same here.... cannot send an update because of crashing upon selecting a team

Seems I found temporary solution. Build application with XCode 6.4 and submit it with Xcode 7 beta. It shows binary from 6.4 and submits it without issues.

WORKAROUND:

* Prepare archive with Xcode 6.4 and submit it with Xcode 7

Unfortunately this did not work for me. I built and archive in Xcode 6.4, submitted in Xcode 7 beta 4, and it still crashes. It gets a little bit further (doesn't crash immediately upon choosing a team), but the error seems to be the same:


UNCAUGHT EXCEPTION (NSInternalInconsistencyException): NSDictionaryOfVariableBindings failed because either one of the values is nil, or there's something wrong with the way the macro is being invoked. Cannot assign value nil for key "bundleIdentifier". Keys:(

path,

bundleIdentifier,

profileEntitlements,

storedEntitlements,

extraEntitlements

)

Xcode 6.4 crash during submission to app store.
 
 
Q