Ionic package - Ios Code Sign error

Hello everyone, i’m using package to compile .ipa’s.
I’m having trouble while submiting production apps.
While my dev builds are ok, this one fails on the submit

ionic package build ios --profile prod

This command outputs:

=== BUILD TARGET MyApp OF PROJECT MyApp WITH CONFIGURATION Debug ===

Check dependencies
Code Sign error: No code signing identities found: No valid signing identities (i.e. certificate and private key pair) were found.

** BUILD FAILED **

I think the error is on provisioning/p12 file, but I followed this guide
https://docs.ionic.io/services/profiles/#certificate-signing-request

Do I need some additional configuration in the production build?
Thanks in advance

Correct command for a production build is

ionic package build PLATFORM_TAG --profile PROFILE_TAG --release

1 Like

@Sujan12, thanks for the fast reply! :slight_smile:
With the command

ionic package build PLATFORM_TAG --profile PROFILE_TAG --release

Solved the problem!
Thanks!!!

1 Like