Xcode export/upload error: Your session has expired. Please log in

前端 未结 11 2113
小蘑菇
小蘑菇 2020-12-25 09:34

I am trying to release an app from Xcode but as soon as I try uploading to the app store or exporting in any fashion, once it checks for signing from iTunes Connect, I recei

相关标签:
11条回答
  • 2020-12-25 09:51

    In my case, the problem gone away when I've re-added my account in Xcode > Preferences > Accounts and both logged out/logged in in the Mac App Store. I was checking my sandbox user and right after that Xcode began to say my session is expired. Hope this will help to resolve your issue.

    0 讨论(0)
  • 2020-12-25 09:53

    In the end, finally resolved by calling apple support and getting elevated to upper level tech, where eventually we discovered missing shared folder in /Users. Adding a shared folder resolved my issue. Here’s the steps to reproduce solution if it applies to you:

    • Finder > Go > Go to Folder

    • enter /Users :: Go

    • if no Shared folder, open Terminal to create one in /User

    • Enter commands in Terminal (must be logging in as user with admin access):

    • sudo mkdir -p /Users/Shared

    • sudo chmod 1777 /Users/Shared/

    • reboot and see if can now login

    resource https://discussions.apple.com/thread/7275650?start=0&tstart=0

    0 讨论(0)
  • 2020-12-25 09:59

    For Xcode 11 and Big Sur, I got official email from Apple saying that "From your email I can tell that a possible reason for you seeing this error message is the fact you are on the live version of Xcode and the. Beta version of MacOS. What I would suggest doing is updating the the Xcode version so it will better communicate with the MacOS. Please see the below link for more information on Xcode 12 beta."

    0 讨论(0)
  • 2020-12-25 10:03

    The session of one of my accounts (not even the one I was trying to use) had its session expired. This seems to be new. I just had to re-sign in to the errant account in Xcode > Preferences > Accounts.

    0 讨论(0)
  • 2020-12-25 10:03

    In my case, Apple were trying to force me to update my profile / password. Try signing into https://appleid.apple.com/account/manage first.

    Discovered this while trying to enable Two-Factor Authentication so thanks to Hiran for his suggestion.

    0 讨论(0)
  • 2020-12-25 10:04

    I had the same issue after changing the APPLE ID password.

    Go to: xcode> preferences>account> sign in again

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