Building for IOS using ionic.io fails for unclear reason

hello,

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 ionic.io.
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 Appflow Dashboard
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 “96CXS954RE.digital.anais.AnaisMobilePOCIonic” were found.

** BUILD FAILED **

The application id in the provisioning profile is
96CXS954RE.digital.anais.AnaisMobilePOCIonic
which is exactly the one configured in
config.xml
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 “96CXS954RE.digital.anais.AnaisMobilePOCIonic” 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
digital.anais.AnaisMobilePOCIonic
in config.xml
and
then run again
ionic package build ios --profile poc_security_profile