I am working on an Azure DevOps build pipeline, I am building an ionic 4 app through the pipeline and it's getting build fine but when I try to upload the .ipa
to app store through release pipeline of Azure DevOps I am getting
ERROR ITMS-90174: "Missing Provisioning Profile - Apps must contain a provisioning profile in a file named embedded.mobileprovision."
I am aware as there is already a question available on the forum but it's not ok with my scenario.
I added CODE_SIGNING_ALLOWED=No
in argument of xcode task in build pipeline and that helps to build the app otherwise it throws an error
I have added build.json
file already
{
"ios": {
"debug": {
"buildFlag": [
"-UseModernBuildSystem=0"
]
},
"release": {
"buildFlag": [
"-UseModernBuildSystem=0"
]
}
}
}
I also tried to build the app with --buildFlag="-UseModernBuildSystem=0"
but it's not helping me out.
command tried:
cordova build ios -- --buildFlag="-UseModernBuildSystem=0"
cordova build ios --buildFlag="-UseModernBuildSystem=0"
though there is a solution for manual upload:
when you upload the archive to App Store (for TestFlight or App Store), you need to select "manually
manage signing" and then select the right distribution profile.
but not useful in my case.