dilluns, 1 de maig del 2017

Ionic 2, publishing your app. iOS

Continuing with the release process of our new app this time in iOS. The process is a bit different to which we have performed in AndroidHere next to Android description, you can find more documentation about the process.

First in the directory of your app run the command

   cordova build --release ios


This is the only step we use the CLI. When the message BUILD SUCCEEDED appears in the terminal we will have finished with the CLI. We can find the result of the process in platforms/ios/ directory. In this directory what interest us is a Xcode project file ourApp.xcodeproj but for the moment we left it.

The next step is go to the Apple Developer Member Center to register the app. In the Certificates, Identifiers & Profiles choose iOS, tvOS, watchOS




And in the Identifiers select App IDs and next press the (+) button

In this page we must put the name of the app and the Bundle Id, this Id is the same that we have in the config.xml file in our project.

The next step is open the project in Xcode. Once the project is opened we should see the details in the General View. Check if the Bundle Id are correct and if the Deployment Target selected is the desired. In the Archive scheme we select Generic iOS Device and then we select Product -> Archive.

When the Archive Organizer appears  the last step is select the button Upload to App Store... 




And now the last step is go to iTunes Connect, add a new app and follow all the steps to publish the app and finally Submit for review

And remember, every time that the app is updated, you have to modify the config.xml file and update the version,  rebuild and repeat the same steps to upload the app.

Cap comentari:

Publica un comentari a l'entrada