Xcode 7.1 - 未授权使用此服务错误
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/33291394/
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 7.1 - Not authorized to use this service Error
提问by Sebastian
I did a fresh install of OSX on my machine yesterday and installed Xcode 7.1. After having signed in with my developer account and fixing all code signing issues that come along, I wanted to upload my tvOS app.
我昨天在我的机器上全新安装了 OSX 并安装了 Xcode 7.1。在使用我的开发者帐户登录并解决所有出现的代码签名问题后,我想上传我的 tvOS 应用程序。
Important to say that I did not change a single line of code in the app.
重要的是我没有更改应用程序中的任何一行代码。
Each time I try uploading it, I get "You are not authorized to use this service" and I can't proceed.
每次尝试上传时,我都会收到“您无权使用此服务的授权”,并且无法继续。
I also tried all the steps described in this postto solve it without success.
我也尝试了这篇文章中描述的所有步骤来解决它,但没有成功。
Does anyone have the same issues? Is it Xcode, iTunesConnect or tvOS App Store not fully enabled yet?
有没有人有同样的问题?Xcode、iTunesConnect 或 tvOS App Store 是否尚未完全启用?
回答by James
Okay, finally figured out something that worked (all of the certificate issues etc turned out to be irrelevant; though frustratingly it did work 1 time (out of about 30) from within Xcode Organiser which meant I kept trying:
好的,终于找到了一些有用的东西(所有证书问题等都证明是无关紧要的;尽管令人沮丧的是它确实在 Xcode Organizer 中工作了 1 次(大约 30 次),这意味着我一直在尝试:
- Do the usual Product -> Archive thing
- In Organiser click on the "Export..." button
- Choose "Save for Apple TV App Store Deployment"
- Export that
- Now from Xcode Menu (not via spotlight etc) choose Open Developer Tool -> Application Loader
- Verify this is version 3.3 (not 3.0 which won't work)
- Click on "Choose"
- Pick the IPA you have just exported
- Follow submission process
- 做通常的产品 -> 存档事情
- 在管理器中单击“导出...”按钮
- 选择“保存用于 Apple TV App Store 部署”
- 导出那个
- 现在从 Xcode 菜单(不是通过聚光灯等)选择 Open Developer Tool -> Application Loader
- 验证这是 3.3 版(不是 3.0,它不起作用)
- 点击“选择”
- 选择您刚刚导出的 IPA
- 遵循提交流程
Hopefully Apple will sort out whatever issues are going on with Organiser soon.
希望 Apple 能够尽快解决与 Organizer 相关的任何问题。
回答by Scott D
I tried several recommendations I've seen around Stack Overflow, and the Apple Forums. This includes deleting every single one of my Apple accounts from Xcode, restarting and then adding them back again (what a pain! I have 15 dev accounts!) Unfortunately for me, none of those options worked.
我尝试了一些我在 Stack Overflow 和 Apple 论坛上看到的建议。这包括从 Xcode 中删除我的每一个 Apple 帐户,重新启动然后重新添加它们(多痛苦!我有 15 个开发帐户!)对我来说不幸的是,这些选项都不起作用。
The only thing that didresolve this behavior for mewas to use Application Loader to upload my binary to the store. That worked without any issues.
那唯一没有解决此问题对我来说是使用应用程序加载到我的二进制上传到商店。这没有任何问题。
For those unfamiliar with Application Loader, you simply build your app as normal and archive it to the Organizer. Then export the binary for App Store distribution. Then import that generated .ipa file into Application Loader and follow the process to upload it to the store.
对于那些不熟悉 Application Loader 的人,您只需像往常一样构建您的应用程序并将其存档到 Organizer。然后导出二进制文件用于 App Store 分发。然后将生成的 .ipa 文件导入 Application Loader 并按照流程将其上传到商店。
回答by MdaG
I just needed to restart XCode (7.2) and try again for it to work.
我只需要重新启动 XCode (7.2) 并再次尝试使其工作。
回答by Eneko Alonso
回答by David Wong
I had the same issue.
我遇到过同样的问题。
What I did to get past it was pretty drastic though...
不过,我为克服它所做的事情非常激烈......
I restored an old computer with El Capitan and the new Xcode.
Transferred the private keys across to the machine.
Created an .ipa for exporting.
Uploaded to iTunes Connect using Application Loader
我用 El Capitan 和新的 Xcode 恢复了一台旧电脑。
将私钥传输到机器上。
创建了一个用于导出的 .ipa。
使用 Application Loader 上传到 iTunes Connect
The computer I was using could still upload the iOS app without any issues. Its possible there's some remnants of the Beta Xcode lying around.
我使用的计算机仍然可以毫无问题地上传 iOS 应用程序。可能有一些 Beta Xcode 的残余存在。
It seems that uploading to App Store for Apple TV is still a work in progress.
似乎 Apple TV 的上传到 App Store 仍在进行中。
回答by fahu
I had same weird Xcode permission issues with my universal app(not iwatch) ,I solved it by disabling the bitcode from build setting.So try following steps.
我的通用应用程序(不是 iwatch)遇到了同样奇怪的 Xcode 权限问题,我通过从构建设置中禁用位代码来解决它。所以请尝试以下步骤。
- Go to build setting
- Build option
- Enable bitcode
- set Enable bitcode to NO
- create a new IPA and upload.
- 转到构建设置
- 构建选项
- 启用位码
- 将启用位码设置为 NO
- 创建一个新的 IPA 并上传。
It will work
它会工作