Xcode 9 上传时出现“无 iTunes Connect 帐户”错误
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/46009471/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Xcode 9 "no iTunes Connect account" error when uploading
提问by John Scalo
With a certain project in Xcode 9 beta 6 when I try to Upload to the App Store I get:
使用 Xcode 9 beta 6 中的某个项目,当我尝试上传到 App Store 时,我得到:
I am the "Admin" role for this account.
我是此帐户的“管理员”角色。
- All contracts are up-to-date
- I tried removing/re-adding my account from Xcode prefs several times
- Submitting for the same project from Xcode 8 works (however I need to upload from Xcode 9 for this project because it links against iOS 11 beta)
- 所有合同都是最新的
- 我多次尝试从 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?
团队中的另一位开发人员也看到了同样的事情,所以这似乎很常见。有人找到解决方法吗?
回答by little
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.
我在 xCode 9 GM 构建中遇到了同样的问题,其他人也在 xCode 10 和 xCode 11 中报告了它。删除派生数据实际上为我解决了这个问题。希望它也能帮助其他人。
- Close xCode
rm -fr ~/Library/Developer/Xcode/DerivedData/
- Reopen xCode and try to upload again
- 关闭 xCode
rm -fr ~/Library/Developer/Xcode/DerivedData/
- 重新打开 xCode 并尝试再次上传
回答by Jayprakash Dubey
This seems to be issue with Xcode 9. Solution is to use Application Loader tool.
这似乎是Xcode 9 的问题。解决方案是使用 Application Loader 工具。
Step 1 : Create an IPA file
第 1 步:创建 IPA 文件
- Clean your project from Product -> Clean (cmd + shift + k )
Select Product -> Archive
Once archive is successfully completed it will open in Organizer window
- Press Export button present on right side
- Now select the distribution method as per your need and click on Next button
- 现在根据需要选择分发方法,然后单击下一步按钮
- This will show the App Store distribution options. Now click on Next button
- 这将显示 App Store 分发选项。现在点击下一步按钮
- Re-sign your project (preferred is Automatically manage signing) and click on Next button
- 重新签署您的项目(首选自动管理签名),然后单击下一步按钮
- There will be Review window containing IPA content details. Click on Export.
- 将出现包含 IPA 内容详细信息的查看窗口。单击导出。
- Now choose the location where folder is to be saved and Click on Export.
- 现在选择要保存文件夹的位置,然后单击导出。
- This will create an folder containing IPA, packaging.log, DistributionSummary.plist and ExportOptions.plist file
- 这将创建一个包含 IPA、packaging.log、DistributionSummary.plist 和 ExportOptions.plist 文件的文件夹
Step 2 : Upload IPA using Application Loader
第 2 步:使用 Application Loader 上传 IPA
- Right click on Xcode tool present on Slide-bar. Goto Open Developer Tool -> Application Loader
- 右键单击滑动条上的 Xcode 工具。转到 Open Developer Tool -> Application Loader
- This opens Application Loader. Press on Choose button and select IPA file.
- 这将打开应用程序加载器。按选择按钮并选择 IPA 文件。
- This will analyse IPA file and will show IPA details. You can press on Activity button to see list of activity performed while uploading app. Click on Next.
- 这将分析 IPA 文件并显示 IPA 详细信息。您可以按“活动”按钮查看上传应用程序时执行的活动列表。单击下一步。
- This will create iTunes Connect API analysis file.
- 这将创建 iTunes Connect API 分析文件。
- Once it is successfully uploaded it will show Success. Now click on Next.
- 成功上传后,它将显示成功。现在点击下一步。
- You IPA file is submitted to AppStore successfully
- 您的 IPA 文件已成功提交到 AppStore
回答by Jaroslav
The only solution I have found for now, is to generate IPA for AppStore and then upload it with Application Loader.
我现在找到的唯一解决方案是为 AppStore 生成 IPA,然后使用 Application Loader 上传它。
回答by Daniel Espinosa
I just had this happen to me and this was my solution.
我刚刚发生了这种情况,这是我的解决方案。
- Full Quit out of xCode 9
- Reopen xCode
- Update to a new version number
- Archive again
- 完全退出 xCode 9
- 重新打开 xCode
- 更新到新版本号
- 再次存档
Result: It worked
结果:成功了
It's a pretty basic fix, but hopefully it will for you too.
这是一个非常基本的修复,但希望它也适合你。
回答by Aanchal Chaurasia
None of the mentioned answers helped me. Below I am mentioning what all I have tried to solve the issue but didn't work.
提到的答案都没有帮助我。下面我提到了我试图解决问题但没有奏效的所有内容。
i) Check provisioning profile & Certificate combination.
i) 检查配置文件和证书组合。
ii) Clean
ii) 清洁
iii) Quit Xcode
iii) 退出 Xcode
iv) Delete derived data
iv) 删除派生数据
v) Restart Xcode
v) 重启Xcode
What worked for me is
对我有用的是
i) Open Xcode preferences
i) 打开 Xcode 首选项
ii) Check iTunes account you are using. If it is already logged in, remove it.
ii) 检查您正在使用的 iTunes 帐户。如果它已经登录,请将其删除。
iii) Login the iTunes account again
iii) 再次登录iTunes账户
iv) Xcode will start process automatically once it gets access now.
iv) 一旦获得访问权限,Xcode 将自动启动进程。
v) Select the provisioning profile that you are using again while Xcode asks for it in the popup.
v) 当 Xcode 在弹出窗口中要求时,再次选择您正在使用的配置文件。
vi) Xcode will proceed upload process.
vi) Xcode 将继续上传过程。
This worked for me. Hope it will save some of your's time as well.
这对我有用。希望它也能节省您的一些时间。
回答by Cholo
The same case happened to me. Also when I tried to get crash reports, it shows that my session has expired.
同样的情况发生在我身上。此外,当我尝试获取崩溃报告时,它显示我的会话已过期。
I have just restarted my Xcode and it worked.
我刚刚重新启动了我的 Xcode,它工作正常。
回答by Parin Shah
I just had a call with Apple developer customer support. They said its a known issue and the team is actively working on it. But there is no timeline insight.
我刚刚接到了 Apple 开发者客户支持的电话。他们说这是一个已知问题,团队正在积极解决这个问题。但是没有时间线洞察力。
Following solution that worked for me. Use Xcode 8 until Apple engineers fix this issue:
以下解决方案对我有用。使用 Xcode 8,直到 Apple 工程师解决此问题:
The solution may work even if you don't downgrade to Xcode 8
即使您不降级到 Xcode 8,该解决方案也可能有效
Steps for Downgrading form Xcode 9 to Xcode 8
从 Xcode 9 降级到 Xcode 8 的步骤
1. Download Xcode 8 from:
https://developer.apple.com/download/more/
1. 从以下地址下载 Xcode 8:https :
//developer.apple.com/download/more/
2. Install Xcode 8.
2. 安装 Xcode 8。
3. Create an ipa build
In Xcode go to
Menu -> Product -> Archive -> Export
3. 创建一个 ipa 构建
在 Xcode 中转到
Menu -> Product -> Archive -> Export
4. Use the Application Loader to upload your ipa to iTunes connect
Application Loader can be found at:
In Xcode go to
Xcode -> Open Developer Tools -> Application Loader
4. 使用 Application Loader 将您的 ipa 上传到 iTunes 连接
Application Loader 可以在以下位置找到:
在 Xcode 中转到
Xcode -> Open Developer Tools -> Application Loader
Let me know if it helped
让我知道它是否有帮助
回答by MinnuKaAnae
In My case none of the above solutions worked,
在我的情况下,上述解决方案均无效,
I have an access for both Developer account and iTunes Connect account, but I faced the same Issue.
我有开发者帐户和 iTunes Connect 帐户的访问权限,但我遇到了同样的问题。
The only option worked for me is updating my MAC OS before it was 10.13.4, after update to 10.13.6 the problem was resolved. Hope this will help to someone.
唯一对我有用的选项是在 10.13.4 之前更新我的 MAC OS,更新到 10.13.6 后问题得到解决。希望这会对某人有所帮助。
回答by krn
Actually, it's apple server error. So, wait for some time and then upload. It'll work.
实际上,这是苹果服务器错误。所以,等待一段时间,然后上传。它会工作。
回答by Vasanth
I just removed and re-added my developer account for the Xcode 9. To remove account goto preferences -> select your account -> hit the minus icon(-). To add your account just click on the + icon next to it.
我刚刚删除并重新添加了我的 Xcode 9 开发人员帐户。要删除帐户,请转到首选项 -> 选择您的帐户 -> 点击减号图标 (-)。要添加您的帐户,只需单击它旁边的 + 图标。