Xcode 6 crashes when validating or submitting app archive

后端 未结 12 1746
误落风尘
误落风尘 2020-12-23 16:02

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

相关标签:
12条回答
  • 2020-12-23 16:49

    These steps works with Xcode 7.x:

    • close Xcode
    • launch Disk Utility, make a First Aid to your OSX disk
    • open Xcode, go to Window - Project and clean your project Derived Data
    • open Window - Organizer
    • open Xcode - Preferences - Account and remove and re-add your account
    • launch your project
    • go to both project and target - Build settings - Build Options (settings) and set "Enable Bitcode" to NO ( if your project don't use bitcode)
    • select a real device and build and run your project to the device
    • go to product and launch archive
    0 讨论(0)
  • 2020-12-23 16:50

    I managed to solve this issue by accepting new license agreement in the Member's Center.

    0 讨论(0)
  • 2020-12-23 16:51

    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.

    0 讨论(0)
  • 2020-12-23 16:52

    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.

    0 讨论(0)
  • 2020-12-23 16:55

    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

    0 讨论(0)
  • 2020-12-23 16:55

    I have used bagusflyer's workaround to submit app, but finally I found out how to solve it permanently.

    Here is the solution:

    1. Accept new changed terms and condition from apple developer account. (Just like Sandeep said)

    2. Go to here to generate new provision profiles, for App Store & AdHoc (Tutorial)

    3. 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.

    0 讨论(0)
提交回复
热议问题