[翻译]  Xcode won't let me upload my app

[CHINESE]  Xcode不会让我上传我的应用程序


I have an iOS app created with Cordova, and have just paid my $99 to apple to upload it to the App Store. I've created the app archive, but in the Organizer Upload to App Store… is grayed out, and I've got "Distribution requires enrollment in the Apple Developer Program."

我有一个用Cordova创建的iOS应用程序,刚刚向苹果支付了99美元,将其上传到App Store。我已经创建了应用程序存档,但是在管理器上传到App Store中...显示为灰色,我有“分发需要在Apple开发人员计划中注册”。

enter image description here

Here is my account in preferences, which I have tried removing and re-adding

这是我的偏好帐户,我尝试删除并重新添加

enter image description here

What am I missing?

我错过了什么?

2 个解决方案

#1


32  

I see you have two Team entries. I believe the issue might be because you have the "Personal Team" option selected under your Project settings page.

我看到你有两个团队参赛作品。我认为问题可能是因为您在“项目设置”页面下选择了“个人团队”选项。

In Xcode, in the Filesystem sidebar, select the Project node, select your main Target, and choose the non-Personal Team entry. Ensure you have a device selected so you can provision it, then rebuild and rearchive, then it should work.

在Xcode中,在Filesystem侧栏中,选择Project节点,选择主Target,然后选择非Personal Team条目。确保您选择了一个设备,以便进行配置,然后重建和重新归档,然后它应该可以正常工作。

#2


1  

What happened to work for me was to "Enable Bitcode: Yes" under Build Options in my project target in Xcode. With that enabled I was able to upload to app store via the Application Loader.

为我工作的是在Xcode中我的项目目标中的Build Options下的“Enable Bitcode:Yes”。启用后,我可以通过Application Loader上传到app store。

I had to archive the project and export with bitcode attached.

我必须归档项目并使用附加的bitcode导出。

I know this is way past the time for the original post, but hopefully it can help someone looking for a similar solution.

我知道这是原始帖子的时间,但希望它可以帮助寻找类似解决方案的人。


注意!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系我们删除。



 
© 2014-2018 ITdaan.com 粤ICP备14056181号