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 see
These steps works with Xcode 7.x:
I managed to solve this issue by accepting new license agreement in the Member's Center.
I tried all of the other suggestions, no success.
Finally I removed my AppleID from the accounts preferences pane and re-added it. That did the trick!
Since then, app submission was working again.
For me, The problem seems to happen because of uploading same build to the submission. Try to change the Build Number (not a Version number) then upload again.
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
I have used bagusflyer's workaround to submit app, but finally I found out how to solve it permanently.
Here is the solution:
Accept new changed terms and condition from apple developer account. (Just like Sandeep said)
Go to here to generate new provision profiles, for App Store & AdHoc (Tutorial)
Double click new provision profiles you downloaded to install them, and then XCode will never crash.
The problem is caused by XCode 6.0 does not handle provision profile migration properly. Developers should regenerate provision profiles for XCode 6+, but Xcode 6.0 fails to display this error message properly and crashes. (If you use XCode 6.1 Beta, it will display error messages for you, no crash. Then you will know that the problem is caused by "invalid"=="legacy" provision profile.)
After that, you can submit app and export Ad Hoc distribution for Testflight.