Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Missing Provisioning Profile :Apps must contain a provisioning profile in a file named embedded.mobileprovision

App is already submitted to App Store from xcode-9 and now I have to update new version.But now xcode is updated i.e.xcode 10.During Validating it shows 'Apps must contain a provisioning profile in a file named embedded.mobileprovision..' .App is working fine on simulator

Even I have downloaded provisioning certificated.

like image 990
developer.PT Avatar asked Sep 20 '18 13:09

developer.PT


People also ask

What is embedded provision profile?

A provisioning profile is downloaded from your developer account and embedded in the app bundle, and the entire bundle is code-signed. A Development Provisioning Profile must be installed on each device on which you wish to run your application code.


2 Answers

I tried to clear out the provisioning profiles and none of it did help. What changed from the previous XCode version to this one is the build system. By changing your build system back to the legacy one, this was resolved for me.

You can switch out the build system under file > workspace settings (or project settings) and then select Legacy Build System under Build System (see screenshot).

Good luck!

select build system under preferences

Edit: As of cordovo iOS 5.0.0 the new build system is now supported. Changelog can be found over here: https://cordova.apache.org/announcements/2019/02/09/cordova-ios-release-5.0.0.html

like image 145
Luuk Schoenmakers Avatar answered Sep 30 '22 05:09

Luuk Schoenmakers


If running/building from the CLI, use this command to use the legacy build system instead of the new one

cordova build ios --buildFlag="-UseModernBuildSystem=0" 
like image 37
jcesarmobile Avatar answered Sep 30 '22 05:09

jcesarmobile