0

我正在尝试将我的第一个应用程序发布到 iTunes Store,但是当我尝试分发它时 Xcode 不断崩溃。

我去:Window > Organizer然后单击应用程序的存档并选择Distribute.

之后,我:

  1. 选择Submit to iOS App Store
  2. 登录我的开发者帐户
  3. 点击Download Identities下方Connect to iOS Dev Center
  4. 选择我的开发团队/帐户,然后单击Choose

在 #4 之后,Xcode 崩溃。我已经尝试了很多次,它总是崩溃。

我做错了吗?

我刚刚更新到支持 iOS7 的最新版 Xcode 5.0。

编辑#2

看起来有一个Submit按钮,您只需单击即可。我没有得到那个按钮。它适用于 5.0 吗?或者我在 iTunes Connect 上设置我的应用程序时做错了什么?

http://www.raywenderlich.com/8045/how-to-submit-your-app-to-apple-from-no-account-to-app-store-part-2

编辑

这是转储:

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libobjc.A.dylib                 0x00007fff8ebf4510 objc_msgSend_vtable5 + 16
1   com.apple.AppKit                0x00007fff8d13c3b2 +[NSTextInputContext currentInputContext] + 128
2   com.apple.AppKit                0x00007fff8d13bb81 -[NSApplication updateWindows] + 94
3   com.apple.AppKit                0x00007fff8d386d9f __38-[NSApplication setWindowsNeedUpdate:]_block_invoke_02349 + 76
4   com.apple.CoreFoundation        0x00007fff8e53d417 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
5   com.apple.CoreFoundation        0x00007fff8e53d381 __CFRunLoopDoObservers + 369
6   com.apple.CoreFoundation        0x00007fff8e5187b8 __CFRunLoopRun + 728
7   com.apple.CoreFoundation        0x00007fff8e5180e2 CFRunLoopRunSpecific + 290
8   com.apple.HIToolbox             0x00007fff8fea3eb4 RunCurrentEventLoopInMode + 209
9   com.apple.HIToolbox             0x00007fff8fea3b94 ReceiveNextEventCommon + 166
10  com.apple.HIToolbox             0x00007fff8fea3ae3 BlockUntilNextEventMatchingListInMode + 62
11  com.apple.AppKit                0x00007fff8d13a533 _DPSNextEvent + 685
12  com.apple.AppKit                0x00007fff8d139df2 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
13  com.apple.AppKit                0x00007fff8d1311a3 -[NSApplication run] + 517
14  com.apple.AppKit                0x00007fff8d0d5bd6 NSApplicationMain + 869
15  libdyld.dylib                   0x00007fff902167e1 start + 1

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib          0x00007fff902a7d16 kevent + 10
1   libdispatch.dylib               0x00007fff863a4dea _dispatch_mgr_invoke + 883
2   libdispatch.dylib               0x00007fff863a49ee _dispatch_mgr_thread + 54

Thread 2:: com.apple.NSURLConnectionLoader
0   libsystem_c.dylib               0x00007fff8e349cfc OSAtomicCompareAndSwap64Barrier$VARIANT$mp + 8
1   libsystem_c.dylib               0x00007fff8e360886 __mtx_droplock + 432
2   libsystem_c.dylib               0x00007fff8e361195 pthread_mutex_unlock + 268
3   com.apple.security              0x00007fff8f552d95 Security::Mutex::unlock() + 9
4   com.apple.security              0x00007fff8f553eb0 Security::CFClass::refCountForType(long, void const*) + 116
5   com.apple.CoreFoundation        0x00007fff8e4ec324 CFRelease + 324
6   com.apple.security              0x00007fff8f6b6e03 _possibleRootCertificatesForOidString(__CFString const*) + 1251
7   com.apple.security              0x00007fff8f5843fc allowedEVRootsForLeafCertificate + 506
8   com.apple.security              0x00007fff8f5835a1 Security::KeychainCore::Trust::evaluate(bool) + 77
9   com.apple.security              0x00007fff8f583464 SecTrustEvaluate + 53
10  com.apple.security              0x00007fff8f5de034 sslCopyPeerPubKey + 42
11  com.apple.security              0x00007fff8f5aed12 SSLProcessCertificate + 475
12  com.apple.security              0x00007fff8f5da795 SSLProcessHandshakeMessage + 233
13  com.apple.security              0x00007fff8f5a7d53 SSLProcessHandshakeRecord + 223
14  com.apple.security              0x00007fff8f5a7c21 SSLProcessProtocolMessage + 107
15  com.apple.security              0x00007fff8f5a7526 SSLHandshakeProceed + 374
16  com.apple.security              0x00007fff8f5a7397 SSLHandshake + 134
17  com.apple.CFNetwork             0x00007fff8f234111 SocketStream::_PerformSecurityHandshake_NoLock() + 133
18  com.apple.CFNetwork             0x00007fff8f23302d SocketStream::socketCallback(__CFSocket*, unsigned long, __CFData const*, void const*) + 145
19  com.apple.CFNetwork             0x00007fff8f232f81 SocketStream::_SocketCallBack_stream(__CFSocket*, unsigned long, __CFData const*, void const*, void*) + 83
20  com.apple.CoreFoundation        0x00007fff8e534fa5 __CFSocketPerformV0 + 1045
21  com.apple.CoreFoundation        0x00007fff8e4f5b31 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
22  com.apple.CoreFoundation        0x00007fff8e4f5455 __CFRunLoopDoSources0 + 245
23  com.apple.CoreFoundation        0x00007fff8e5187f5 __CFRunLoopRun + 789
24  com.apple.CoreFoundation        0x00007fff8e5180e2 CFRunLoopRunSpecific + 290
25  com.apple.Foundation            0x00007fff90c56546 +[NSURLConnection(Loader) _resourceLoadLoop:] + 356
26  com.apple.Foundation            0x00007fff90cb4562 __NSThread__main__ + 1345
27  libsystem_c.dylib               0x00007fff8e35b7a2 _pthread_start + 327
28  libsystem_c.dylib               0x00007fff8e3481e1 thread_start + 13
4

1 回答 1

1

我遇到了这个问题,刚刚解决了。

由于 Xcode 中的这个错误,您无法从 Xcode 中更新配置文件。您必须登录开发中心,转到 Provisioning Profiles,并为此应用程序制作分发配置文件。

完成后,Xcode 将能够提交您的应用程序而不会崩溃。

于 2013-11-18T14:13:27.487 回答