Xcode won't let me upload my app

*爱你&永不变心* 提交于 2021-02-18 08:58:13

问题


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."

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

What am I missing?


回答1:


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.




回答2:


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.

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

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



来源:https://stackoverflow.com/questions/33630860/xcode-wont-let-me-upload-my-app

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!