Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 9.0.1 App Distribution Procedure is Changed

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

like image 778
MACMAN Avatar asked Oct 23 '17 03:10

MACMAN


2 Answers

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

  • Xcode 9.4.1
    - (Command Line Tool (Xcode 9.4.1) - for macOS 10.13)
  • Xcode 9.4
    - (Command Line Tool (Xcode 9.4) - for macOS 10.13)

  • Xcode 9.3.1

  • Xcode 9.3
    - (Command Line Tool (Xcode 9.3) - for macOS 10.13)

  • Xcode 9.2
    - (Command Line Tool (Xcode 9.2) - for macOS 10.13)
    - (Command Line Tool (Xcode 9.2) - for macOS 10.12)
  • Xcode 9.1
    - (Command Line Tool (Xcode 9.1) - for macOS 10.13)
    - (Command Line Tool (Xcode 9.1) - for macOS 10.12)
  • Xcode 9.0.1
    - (Command Line Tool (Xcode 9.0.1) - for macOS 10.13)
    - (Command Line Tool (Xcode 9.0.1) - for macOS 10.12)

  • Xcode 9.0
    - (Command Line Tool (Xcode 9) - for macOS 10.12)
    - (Command Line Tool (Xcode 9) - for macOS 10.13)


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

  • Xcode 9.4 (Mac App Store 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.

like image 174
Krunal Avatar answered Nov 15 '22 20:11

Krunal


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.

like image 21
MACMAN Avatar answered Nov 15 '22 22:11

MACMAN