Building for IOS using fails for unclear reason


I am trying to build the an ionic application for IOS.
I have followed the steps to create the P12 certificate and the provisioning profile.
They are uploaded to
The command i run is

ionic package build ios --profile poc_security_profile
After a while i see the build failed in the web interface at
The error is:

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

Check dependencies
Code Sign error: No matching provisioning profiles found: No provisioning profiles with a valid signing identity (i.e. certificate and private key pair) matching the bundle identifier “” were found.


The application id in the provisioning profile is
which is exactly the one configured in
and exactly the one which appears in the error message;
so i do not know why it says that
"No matching provisioning profiles found matching the bundle identifier “” were found."

Can you please help me.
Thank you.

I have found a fix to the problem:
the id from the provisioning profile WITHOUT the prefix should be used as the application id in the config.xml file.
So in my case it worked using
in config.xml
then run again
ionic package build ios --profile poc_security_profile