Xcode 9.0.1 App Distribution Procedure is Changed

匿名 (未验证) 提交于 2019-12-03 00:47:02

问题:

Recently I have upgraded my Xcode to Xcode 9.1. After that when I try to publish my app, Xcode is not allowing to select the distribution profile I created for ad-hoc. Saying that

Profile is not an IOS App store profile

Please let me know if there is a change in App distribution procedure with respect to Xcode 9.1

回答1:

Xcode tool you are using (Xcode 9.1 beta) is not a stable version of Xcode Tool as on today, so It must/will not allow you publish/submit a build on app store.

Only stable version of Xcode tool can create/upload a build on store.

You must use anyone of stable version of Xcode tool from following reference links:

Xcode 9


For non-premium account/apple id: (Download Xcode 9.3.x without Paid (Premium) Apple Developer Account from below link)


Update
According to your updated question, you are using Xcode 9.0.1 and your provisioning profiles/certificates were working with Xcode 9.0.

Here is temporary solution for your problem: There is no huge difference between Xcode 9.0 and Xcode 9.0.1. Develop your code in Xcode 9.0.1 and create a build from Xcode 9.0.



回答2:

Finally I got a clue from this apple documentation about an important change the way we publish the app to appstore. https://developer.apple.com/library/content/qa/qa1814/_index.html#//apple_ref/doc/uid/DTS40014030. There it talks about automatic code signing. This makes it different from the older versions of Xcode. In order to publish from xcode version 9 onwards, we have to prefer automatic code signing from the project settings. That way apple made publishing lot easier. You don't have to change profiles everytime between development and distribution.

I have development and distribution profiles created in my apple developer account. From the Xcode, In the General tab Signing section select the Team. Xcode9.0.1 look out for the appropriate profile from the available ones and proceeds with the publishing.



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