Ionic 3 - Can't install production app on iOS

Viewed 1854

I'm building my app for iOS using ionic package.

https://docs.ionic.io/services/package/

I created certificates for both development and production, including push.

https://docs.ionic.io/services/profiles/

development - built successfully using ionic package, installed on iOS with no problem.

production - built successfully using ionic package, when I try installing it on iOS it starts installing the app normally, then when almost finished the app disappears and it ends up not being installed, no errors appear.

Why does it happen?

In order to test the production .ipa on my device, I'm installing it via the iTunes software. (I'm not publishing it in the App Store yet)

The same goes for the development .ipa, though for this one it's a given.

I found this old issue which suggests it might be due to bundles ids that don't match:

In-House App Disappears After Install

The widget id in my app's config.xml is identical to the App ID on Apple Developer.

Are there more places that are supposed to be identical which I'm not aware of? Perhaps info I'm inputting when creating the certificates?

My final goal is to publish this app in the App Store, it's not an In-House app - I'm stating this to avoid confusions.

3 Answers

It is not possible to directly install Production iOS App on the mobile device. This can only be done via TestFlight. Step by step tutorial below.

Prerequisites

  1. You have your Mobile App Prod build ready and signed
  2. You have iOS mobile test device with TestFligh app on it

Step by step

  1. On MAC open XCode -> Open DEveloper Tool -> Application Loader
  2. Click 'Choose' file to pick up your build file from local machine and continue to upload
  3. Once app is uploaded it will be visible from iTunes Connect console (wait until Processing is finished before submitting to TestFlight)
  4. Once that's done, open TestFlight App on the iOS mobile device and download your new app.
Related