Xcode export/upload error: Your session has expire

2020-02-17 12:09发布

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 receive the error

Your session has expired. Please log in.

I have made sure that I can log into my account on iTunes Connect and the signing certificates and provisioning profiles are current from the developer center.

I came across a similar issue last week: Xcode 6.4 Export Adhoc "Session has expired" but this issue seems different. I am using Xcode 7.1 this time, so the crash that I was observing last week may indicate the problem is different.

10条回答
Luminary・发光体
2楼-- · 2020-02-17 12:52

In my case I had both Application Loader and Xcode opened, it seems both were using the account and thus even when I tried to re-add my account through Preferences->Account, it still displays the same error message.

Once I closed the application loader, Xcode was able to add the account.

查看更多
smile是对你的礼貌
3楼-- · 2020-02-17 12:55

I had the same problem. I noticed that i had no problem login in the site, but i was not able to view or modify the provisioning profile, for this reason "Contact Team Agent We recently updated the Apple Developer Enterprise Program License Agreement. Your team agent must review and agree to continue."

Once my team agent agreed i could export my ipa file.

查看更多
在下西门庆
4楼-- · 2020-02-17 12:55

I didn't find log out in Xcode -> Preferences. Just restart Xcode and it helped me.

查看更多
太酷不给撩
5楼-- · 2020-02-17 12:58

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

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

查看更多
登录 后发表回答