ERROR ITMS-90174: "Missing Provisioning Profile - iOS Apps must contain a provisioning profile in a file named embedded.mobileprovision."

35,628

Solution 1

If you are using Ionic / Cordova like I am see this announcement...

https://github.com/apache/cordova-ios/issues/407

It's just one setting, then re-run your Archive to Submit to the Apple Store like normal.

Go to "File" > "Project Settings..."

Go to File then Project Settings

then select "Legacy Build System"

enter image description here

Solution 2

To upload a archive to AppStoreConnect I had to change the default build system in xcode10 within "File > Project / Workspace Settings" and change it to the Legacy Build system.

This worked for me

Solution 3

Access https://developer.apple.com/account

1 - Certificates, IDs & Profiles

2 - Provisioning Profiles

3 - Distribution

4 - Add Button

5 - Distribution -> App Store -> Continue

6 - Choose Apple Id -> Continue

7 - Select certificates -> Continue

8 - Set Profile Name -> Continue

9 - Download

10 - In Xcode -> Product -> Archive, In Re-sign "App Name" make option Manually manage signing -> choose the Distribution certificate and import your provisioning profile downloaded on step 9.

Sorry for my English, I'm from Brazil

Solution 4

If you submit your build to the AppStore in an IPA archive format (example: Game.ipa), make sure that the Payload folder is at the root of the archive, otherwise you'll get the error: Missing Provisioning Profile - - Apps must contain a provisioning profile in a file named embedded.mobileprovision.

Solution 5

For those that are using the command line to build, and were using the flag (UseModernBuildSystem=0) to avoid this problem, seems that since the release of package cordova-ios 5.0.0, it's no longer needed. So if you update your Ionic / Cordova App dependency, will work normally.

Share:
35,628
Jones
Author by

Jones

Updated on October 31, 2020

Comments

  • Jones
    Jones over 3 years

    When I upload to Application Loader I receive the following message:

    ERROR ITMS-90174: "Missing Provisioning Profile - iOS Apps must contain a provisioning profile in a file named embedded.mobileprovision."
    

    I have this contained in my app folder. When I compress no matter how obvious I make the provisioning profile, I receive this error trying to upload my app for Apple.

  • Henrik Erlandsson
    Henrik Erlandsson over 8 years
    He wrote that he has the file in the folder.
  • wottle
    wottle over 8 years
    True, he did. But without details of where he saw the file, what the file name is, etc. What exactly was he referring to as his "app folder". Is it the .app directory. Is the embedded.mobileprovision at the root of the .app directory? I was trying to provide him a detailed description of where Xcode expects the file and also a way to ensure that the file is valid. Having a file is not the only thing needed. Unfortunately, since the OP did not respond to any of the attempts at help, we won't know what the root cause of the problem was.
  • Muruganandham K
    Muruganandham K almost 8 years
    im having embedded.mobileprovision file, outputs a property list in XML format. But still im facing this problem
  • Tarun Narula
    Tarun Narula over 5 years
    I have check the IPA file by extracting the same, But still getting the same error: 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..
  • Tarun Narula
    Tarun Narula over 5 years
    I have done the same but still getting the error: 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..
  • tofraser
    tofraser over 5 years
    In my case, it was also necessary to reset the signing settings because I was getting an error uploading the archive file to the store. Unchecking "Automatically managed signing" and re-selecting my Team cleared up that issue.
  • Memphis
    Memphis over 5 years
    Legacy Build system didn't worked, but this worked for me, thank you ;)
  • sebaferreras
    sebaferreras over 5 years
    I was getting a no Provisioning Profile error in HockeyApp and this was the right way to fix it. Thanks!
  • Jan Moritz
    Jan Moritz over 5 years
    It was "Workspace Settings" and not "Project Settings" in my case. But it worked ;-)
  • Oliver
    Oliver over 5 years
    hours of trying to fix my profiles and certs until i found this! it worked for my xcode 12 and an old ionic v1 app as well
  • William Grand
    William Grand almost 5 years
    Reverting the build system is not a real solution. It's a shortcut / workaround.
  • William Grand
    William Grand almost 5 years
    Reverting the build system is not a real solution. It's a shortcut / workaround.
  • Jennifer
    Jennifer over 4 years
    Thank you so much!