Xcode crashing when fetching team list

2020-02-28 05:00发布

问题:

So basically Xcode 6.1 is crashing whenever it's trying to get team list. From the general tab in the main screen, when trying to submit the app to iTunes, trying to validate the app.. whenever it tries to get team list, it crashes. It is working fine an hour ago but when we added some team members in the iTunes account for internal testing, it started crashing.

Any ideas?

回答1:

Same problem here, however it's possible to compile and generate a .ipa file by the command line interface:

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

Hope this could help.



回答2:

I was crashing too (while fetching teams) and I finally got it fixed...

  1. Open Xcode -> Preferences -> Accounts

  2. Check that each of the accounts is valid. I had two there that were expired/old developer accounts, no longer in use. I removed both of them and now the crash is gone for me.

Hope this works for you :O



回答3:

We find a solution.

You could use Shenzhen. This is a command line util developed by Mattt Thompson.

Install:

$ gem install shenzhen

If you see permission errors, you can execute the command with sudo

After install, go to project folder and:

$ ipa build

Before, you need to configure your build settings on the XCode Project like usual.

More info and examples here: https://github.com/nomad/shenzhen

These save my day, I hope the same for you :)



回答4:

Try uploading with Application Loader

Xcode -> Open Developer Tools -> Application Loader

Enter the iTunes Connect details.



回答5:

TL;DR: If you think old accounts are to blame, try 'fixing' them by joining the Safari Developer Program (free).

Why I tried this:

I couldn't open the accounts tab or any dropdowns related to accounts. I had an old iOS Developer account, that had expired.

Ultimately I decided my old account was corrupt on Apple's side (somehow) and logged into their certificates page.

Not wanting to pay the $99 --to join the iOS program--, just to fix a crashing xcode I signed up for the free Safari Developer program.

Instantly my account in xcode stopped causing crashes.



回答6:

Looks like Apple "fixed" the problem by Sunday (11/16). I was experiencing it too, and none of the suggestions worked for me. On Sunday it was magically working again.



回答7:

I followed @cclogg's advice and saw that there was an expired account that was crashing. However, it wouldn't let me select the account without crashing XCode. I was only able to do this by selecting two accounts together and this prevented XCode from trying to fetch account information.

After that, I clicked on the minus button to delete both accounts. I figured it would be easier to re-add the second account. And now, the crashing problem is gone.