Xcode 6 crashes when validating or submitting app archive
This worked fine 2 days ago using the exact same archive and provisioning profile (selected from the organizer). Anyone else seeing this? I haven't updated Xcode, so it seems like it might be something on Apple's end causing a failure?
Application Specific Information:
ProductBuildVersion: 6A313
ASSERTION FAILURE in /SourceCache/IDEFrameworks/IDEFrameworks-6299/IDEFoundation/Issues/IDEIssueManager.m:457
Details: This method must only be called on the main thread
Object: <IDEIssueManager>
Method: +_issueProviderInfo
Thread: <NSThread: 0x7fa1abfa8e60>{name = (null), num = 44}
Hints: None
Backtrace:
0 0x00000001027adf0a -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in IDEKit)
1 0x000000010156dbaf _DVTAssertionHandler (in DVTFoundation)
2 0x000000010156de9e _DVTAssertionFailureHandler (in DVTFoundation)
3 0x0000000101ea2bce +[IDEIssueManager _issueProviderInfo] (in IDEFoundation)
4 0x0000000101ea224d -[IDEIssueManager _updateIssueProviders] (in IDEFoundation)
5 0x000000010157ffbe __73-[DVTObservingBlockToken observeValueForKeyPath:ofObject:change:context:]_block_invoke (in DVTFoundation)
6 0x00000001014fa6c8 DVTInvokeWithStrongOwnership (in DVTFoundation)
7 0x00000001013ae124 -[DVTObservingBlockToken observeValueForKeyPath:ofObject:change:context:] (in DVTFoundation)
8 0x00007fff8aed8f28 NSKeyValueNotifyObserver (in Foundation)
9 0x00007fff8aed80f8 NSKeyValueDidChange (in Foundation)
10 0x00007fff8aedcbe6 -[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:] (in Foundation)
11 0x00007fff8ddf3f6f doSetValuesInSourceWithKVO (in CoreFoundation)
12 0x00007fff8ddf3e0f _CFXPreferencesReplaceValuesInNamedVolatileSource (in CoreFoundation)
13 0x00007fff8b07fafc -[NSUserDefaults(NSUserDefaults) setVolatileDomain:forName:] (in Foundation)
14 0x00000001124ad9e9 -[NSUserDefaults(ITunesConnectFoundationExtensions) REPLACEMENT_setVolatileDomain:forName:] (in ITunesConnectFoundation)
15 0x00000001124a3fac -[MZJSONServiceClient connectionDidFinishLoading:] (in ITunesConnectFoundation)
16 0x00007fff8af877fd __65-[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:]_block_invoke (in Foundation)
17 0x00007fff8af8772d -[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:] (in Foundation)
18 0x00007fff8af8761c -[NSURLConnectionInternal _withActiveConnectionAndDelegate:] (in Foundation)
19 0x00007fff989e9284 ___ZN27URLConnectionClient_Classic26_delegate_didFinishLoadingEU13block_pointerFvvE_block_invoke (in CFNetwork)
20 0x00007fff98a9f820 ___ZN27URLConnectionClient_Classic18_withDelegateAsyncEPKcU13block_pointerFvP16_CFURLConnectionPK33CFURLConnectionClientCurrent_VMaxE_block_invoke_2 (in CFNetwork)
21 0x00007fff989cc2ec ___ZNK17CoreSchedulingSet13_performAsyncEPKcU13block_pointerFvvE_block_invoke (in CFNetwork)
22 0x00007fff8de04a94 CFArrayApplyFunction (in CoreFoundation)
23 0x00007fff989cc1cb RunloopBlockContext::perform() (in CFNetwork)
24 0x00007fff989cc073 MultiplexerSource::perform() (in CFNetwork)
25 0x00007fff989cbea2 MultiplexerSource::_perform(void*) (in CFNetwork)
26 0x00007fff8de395b1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ (in CoreFoundation)
27 0x00007fff8de2ac62 __CFRunLoopDoSources0 (in CoreFoundation)
28 0x00007fff8de2a3ef __CFRunLoopRun (in CoreFoundation)
29 0x00007fff8de29e75 CFRunLoopRunSpecific (in CoreFoundation)
30 0x00007fff8af38adc -[NSRunLoop(NSRunLoop) runMode:beforeDate:] (in Foundation)
31 0x00007fff8af8110b -[NSRunLoop(NSRunLoop) runUntilDate:] (in Foundation)
32 0x00000001124a3468 -[MZJSONServiceClient getResultDictionary] (in ITunesConnectFoundation)
33 0x00000001124a55da -[MZLabelServiceClient invokeSOAPCall] (in ITunesConnectFoundation)
34 0x00000001124aa904 -[MZWebServiceOperationWorker execute] (in ITunesConnectFoundation)
35 0x00000001124aac02 -[MZWebServiceWorker run] (in ITunesConnectFoundation)
36 0x000000011248336c -[MZWorkItem main] (in ITunesConnectFoundation)
37 0x00007fff8aed78a1 -[__NSOperationInternal _start:] (in Foundation)
38 0x00007fff8aed754b __NSOQSchedule_f (in Foundation)
39 0x00007fff96f8528d _dispatch_client_callout (in libdispatch.dylib)
40 0x00007fff96f897e3 _dispatch_async_redirect_invoke (in libdispatch.dylib)
41 0x00007fff96f8528d _dispatch_client_callout (in libdispatch.dylib)
42 0x00007fff96f87082 _dispatch_root_queue_drain (in libdispatch.dylib)
43 0x00007fff96f88177 _dispatch_worker_thread2 (in libdispatch.dylib)
44 0x00007fff934d0ef8 _pthread_wqthread (in libsystem_pthread.dylib)
45 0x00007fff934d3fb9 start_wqthread (in libsystem_pthread.dylib)
Solution 1:
Make sure you've accepted all of the new agreements in the Member Center.
To check if you need to, you can go to the preferences -> accounts in XCode, and chose to view details of an account and attempt to refresh using the little button. Here, XCode will warn you that you need to accept new agreements in the Member Center before you can refresh.
On the other hand, the Organizer will just crash instead of warning you about un-signed agreements.
Solution 2:
I solved the problem by:
- Export the ipa in organiser
- Using Application Loader to load the ipa to app store
Solution 3:
I found solution/workaround on https://devforums.apple.com/. Post by 優 Yu:
"Open the Organizer by performing Arches. Please close the only xcode body. Please do not close the Organizer screen. Please go and Submit Validation in that state. I'm glad If we can help you."
Works for me, but after validation I got strange message:
"The resulting API analysis file is too large. We were unable to validate your API usage prior to delivery. This is just an informational message.".
I ignored it and successfully submitted app to App Store. Looks like Apple broke their validation system, because I submitted an app 5 days ago without any problems.
Solution 4:
Yes it looks like apple just withdrew the option to upload with XCode 6. Either use XCode 5.1.1 or Applauncher 2.9.1
Solution 5:
Simply Accept the new License and Agreement in developer.apple.com 's Member Center.