Trouble compiling for IOS - IONIC CLOUD


#1

Hello,

I’m trying to compile an app in ionic cloud, the IOS version and i keep getting:

=== BUILD TARGET <name of the app> OF PROJECT <name of the app> 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 **

Can someone help me?
The certificates are correctly placed.

Best Regards,
CS


#2

Well I guess not :wink:

You are talking about Ionic Service Native builds, Ionic Package, correct?

Can you post the exact command you are running to get this output?


#3

Hey @Sujan12 i’m doing the following:

ionic package build ios --profile prod

And this is my certs tab for that profile.
If you see the message, it says that DEV certificates are invalid… but i’m building PROD.

Best regards,
CS


#4

The correct command would be this:

ionic package build ios --profile prod --release

https://docs.ionic.io/services/package/#release-builds
This is quite often overlooked.


#5

Hey @Sujan12!
Thank you!!!

It worked! :slight_smile: