Xcode 9“没有 iTunes Connect 帐户"上传时出错

问题描述:

当我尝试上传到 App Store 时,Xcode 9 beta 6 中的某个项目得到了:

With a certain project in Xcode 9 beta 6 when I try to Upload to the App Store I get:

我是此帐户的管理员"角色.

I am the "Admin" role for this account.

  • 所有合同都是最新的
  • 我多次尝试从 Xcode 偏好设置中删除/重新添加我的帐户
  • 从 Xcode 8 提交同一个项目是可行的(但是我需要从 Xcode 9 上传这个项目,因为它链接到 iOS 11 beta)

团队中的另一位开发人员也看到了同样的情况,因此这似乎很常见.有人找到解决方法吗?

Another developer on the team is seeing the same thing so this seems like it might be common. Anyone find a workaround?

我在 xCode 9 GM build 中遇到了同样的问题,其他人在 xCode 10 和 xCode 11 中也报告了这个问题.删除派生数据实际上为我解决了这个问题.希望它也能帮助其他人.

I encountered the same issue with xCode 9 GM build and others reported it as well in xCode 10 and xCode 11. Deleting the derived data actually solved it for me. Hopefully it will help others as well.

  1. 关闭 xCode
  2. rm -fr ~/Library/Developer/Xcode/DerivedData/
  3. 重新打开 xCode 并尝试再次上传