Upload to App Store Failed Version Number

In this blog I will item how you use Microsoft'south AppCenter to build an iOS app und publish it directly to iTunes Connect. This allows you to decouple the building, testing and distribution process from the developers. The developer merely has to push the app to the repository (I am using Azure DevOps) and AppCenter takes care of the rest.

The steps to exercise so are:

  1. Create app project
  2. Configure build
  3. Add signing certificates
  4. Configure distribution to iTunes Connect

Create App Projection

Open AppCenter and create a new project.

You can add AppCenter features to yous app, but it's optional. I already have a running app that I but want to build and distribute. Next stride is to configure the build.

Build

Select the repository where the source code is hosted. I use Azure DevOps (gratis tier). Unfortunately, GitLab is non listed and in the free tier I am using it is not possible to add together self-hosted git repositories.

AppCenter will connect to Azure DevOps via SSO and list the bachelor projects.

This adds the repository to the build configuration. You lot'll see the branches and final commit bulletin.

To configure the build, click on the configuration pick for the branch. The option will only announced when you hover with your mouse over the co-operative.

AppCenter volition scan the projection and find the available XCode settings.

You can configure the XCode version to be used for the build. This is very useful when you are using external libraries that do not piece of work with newer XCode versions. For instance, the Fiori libraries included in my project were not released for x.ii.1 and the newer Swift version that comes with it. Therefore, the build exited with an error. Until SAP released an updated version of Fiori for iOS, I had to use XCode 10.2.

AppCenter offers options to automatically increase the build number, or run your XCTests.

Sign build

To exist able to send the app to iTunes, you must sign the build using your certificate and provisioning profile. I wrote two blogs on how to get these:

  • How to get your iOS App provisioning profile
  • How to download your iOS distribution document

When y'all accept these bachelor, you tin start configuring the app signing. You upload the files and provide needed credentials for your private fundamental.

Distribute

Next stride is to define where you lot want to distribute the app to. You can ship it to the official App Store, App Shop Connect Users for your TestFlight beta testers, or to an internal Visitor Portal.

I am going to distribute the app to App Store Connect for TestFlight. Select App Shop Connect. If yous do not have even so an account linked to Apple, you can practise this hither.

AppCenter is connecting to App Store Connect and retrieves a list of apps. I only have one app available, making the selection easier. Information technology also ways that you accept to create the app kickoff in App Store Connect. AppCenter is non able to create the app definition for you.

Select the app and click on Assign.

In case 2FA is enabled for your Apple ID, you volition have to provide an app-specific password. I wrote a web log an how to create an app specific password.

After informing the app-specific password, yous get back to the previous screen. Click again on assign.

Now AppCenter is configured to connect to Apple tree Connect. Back at the Distribute builds section, you can select App Store Connect Users.

Upshot

You tin at present click on save or already start your first build.

Run build and distribute to App Store Connect

After the projection is created and the build configured, you can start a build. AppCenter volition find an available build agent, clone the repository, build, exam, sign and distribute the app.

AppCenter

Waiting for a costless build agent

Build starting

Distribute

Subsequently the build is done, the app is ship to Apple Connect and candy at that place. Apple will check if the build is OK. This will take some time. The status of the build is Processing.

App Store Connect

When processing is washed, you get an electronic mail class Apple.

The status of the app in AppCenter and App Store Connect changes and you can distribute the app to your beta testers via TestFlight.

matthewsforaors.blogspot.com

Source: https://www.itsfullofstars.de/2019/06/how-to-publish-an-ios-app-from-microsoft-appcenter-to-apple-app-store-connect/

0 Response to "Upload to App Store Failed Version Number"

Postar um comentário

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel