Missinig provisoning profile error when building an ios ionic app using xcode 10

  • A+
Category:Languages

I updated my version of xcode yesterday, and now when I build an ionic app that worked perfectly before I get the following error when validating the ipa:

Unable to process application at this time due to the following error: Missing Provisioning Profile - Apps must contain a provisioning profile in a file named embedded.mobileprovision..

How can I get the embedded.mobileprovision to be generated/ included?

Thanks, Yuval

 


Currently the best workaround is to opt-out of the new build system:

If you're building on the command-line, you can specify --buildFlag="-UseModernBuildSystem=0":

Cordova CLI

cordova run ios --buildFlag='-UseModernBuildSystem=0' cordova build ios --buildFlag='-UseModernBuildSystem=0' 

Ionic CLI

ionic cordova run ios -- --buildFlag="-UseModernBuildSystem=0" ionic cordova build ios -- --buildFlag="-UseModernBuildSystem=0" 

If you're building with a build.json config file, you can add the following under the iOS release or debug config:

"buildFlag": [   "-UseModernBuildSystem=0" ] 

If you are opening the project in the Xcode IDE, you need to change the build system in Workspace Settings to "Legacy Build System" Missinig provisoning profile error when building an ios ionic app using xcode 10 Missinig provisoning profile error when building an ios ionic app using xcode 10

Solution from here Worked For Me. Cheers.

Comment

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: