Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 928
Hurshai Avatar asked Nov 14 '14 20:11

Hurshai


3 Answers

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

enjoy!

like image 60
Sonic Avatar answered Oct 20 '22 01:10

Sonic


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.

like image 45
Jay Mayu Avatar answered Oct 20 '22 00:10

Jay Mayu


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

like image 2
EddieHFu Avatar answered Oct 20 '22 00:10

EddieHFu