I use Ionic.io to create an Ionic 2 project and create .ipa (for uploading to Apple TestFlight).
When I try to download the .ipa development file using the Apple Application Uploader, I get the following error:
Invalid training profile. The provisioning profile included in bundle xxx.xxx.xxxx [Payload /xxx.app] is not valid. [Missing code signing certificate]. Distribution distribution profile should when sending applications to the App Store. For more information, visit the iOS Developer Portal. "
The .ipa file is generated by ionic.io
Ionic.io profiles and security certificates were created in accordance with the instructions here (tried both on Windows and Mac):
http://docs.ionic.io/services/profiles/
I looked through the document many times and created keys several times (in case something was missing).
I create development using the following command. I understand that we do not want to use "--release" because this is only for the production profile. In fact, the ionic.io package cannot be built if this parameter is specified for dev.
ionic package build ios --profile dev
Push notifications are not included.
I posted this on the Ionic2 forum, but there was no permission.
Has anyone got this to work or have any ideas?
source
share