简体   繁体   中英

Xcode crashes when exporting or submitting to App Store

I'm having problems submitting to the App Store. Both Xcode 6.1 and 5.1.1 crash when I attempt to export an .ipa or use the submit feature after the app has been archived. Here are the steps to reproduce:

Build -> Archive -> Organizer -> Export -> Save for iOS App Store Deployment

The "Fetching list of teams..." dialogue appears briefly and then Xcode crashes. This also occurs when clicking the Submit button on the Organizer window. This also occurs for Ad Hoc exports. This is odd as I was able to create an ad hoc distribution a few days ago without issue.

I am also unable to select the Team attribute for the target in the project files general settings (General -> Identity -> Team).

The crash report for all of the issues above are similar. I have double checked the developer center to ensure that I have an App Store provisioning profile for this app. I have also read of people having a similar issue if they had not agreed to the latest developer center terms. As far as I can tell, I don't have any outstanding agreements that require action. I've tried removing my account from Xcode and reinstalling. I'm guessing this is an account issue but I'm not sure what I can do to fix it.

close the Xcode and keep the organizer is opened and try to submit; it's working with me

enjoy!

It was crashing for me in XCode 9.3 and the reason was I have not accepted the latest agreement at https://developer.apple.com/ . Right after accepting the latest agreement it just worked.

Right after crashing OS will provide you with a pop-up with logs. Just go through the log and see whether you can make up what exactly happened. Sometimes this is how you can figure out the issue.

It turns out the Apple Membership is expired in my case. Check Membership Center if there is anything worth noticing.

在我的情况下,问题是我的开发帐户中有一个新的用户协议等待批准,所以解决方案是登录我的帐户https://developer.apple.com/然后同意他们的用户协议。

I had the same problem starting from yesterday, 11/13/2014.

Whenever tried to communicate with server it crashed

  • Preferences -> Apple ID -> View Details
  • Organizer -> Validate
  • Organizer -> Export -> Save for Ad Hoc Deployment

View Details works today, but Validate and Export are still crashing.

[Edited] Reference to this thread: Xcode crashing when fetching team list

In case you want to export an ipa:

xcodebuild archive -project $projectname.xcodeproj -scheme $schemename -archivePath projectname.xcarchive
xcodebuild -exportArchive -archivePath $projectname.xcarchive -exportPath $projectname -exportFormat ipa -exportProvisioningProfile “Provisioning Profile Name”

从管理器导出.ipa并使用Application Loader将您的应用程序上传到iTunesConnect。

If the data at the developer center looks good, open Xcode Prefs, click Accounts, click "View Details", click the refresh button. Then quit and relaunch Xcode for good measure, and see if uploading now works. This voodoo has always worked for me in the past.

[Addition] In the release notes for Xcode 6.1.1 Apple suggests trying this if you crash during App Store submission: App Store Submission • Using the distribution workflow after deleting an account from Xcode's preferences may lead to a crash. (18964743) Workaround: Delete all files ending with ".db" in ~/Library/Developer/Xcode/.

I was getting a crash in 6.3.2. Then I tried closing Xcode before submitting and realized that I was using the same build number as my rejected version of the app. I updated the build number and it submitted without having to close Xcode.

close the Xcode and keep the organizer is opened and try to submit; it's working with me also

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM