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

  • 1
  • Problem
  • Updated 4 years ago
Hello,

I have done some changes in xml as well as info.plist file to increase the bundle version and to do so i have followed some following steps 1) Download and unzip the IPA file.
2) Click on MyApp.app and "Expand Package Contents".
3) Open the info.plist file in XCode and edit the "Bundle version" key.
4) Resign via these instructions: https://coderwall.com/p/cea3fw

also resigned the ipa

after resigning the ipa i am trying to upload the same using the application loader but the application loader is giving me following error.

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

But when i am actually checking the same file is available in the payload folder of the same ipa which i am trying to load through application loader.

Please look into it and let me know ASAP.

STEPS TO REPRODUCE
1) Download and unzip the IPA file.
2) Click on MyApp.app and "Expand Package Contents".
3) Open the info.plist file in XCode and edit the "Bundle version" key.
4) Resign via these instructions: https://coderwall.com/p/cea3fw

Following is the resigning procedure that we used please go through that

Macs-Mac-Pro:iof mac$ cd Desktop
-bash: cd: Desktop: No such file or directory
Macs-Mac-Pro:iof mac$ cd ../
Macs-Mac-Pro:Desktop mac$ rm -r "Payload5/AshwiniNitinKadam.app/_CodeSignature" "Payload5/AshwiniNitinKadam.app/CodeResources" 2> /dev/null | true
Macs-Mac-Pro:Desktop mac$ cp "Saylogica_Solutions.mobileprovision" "Payload5/AshwiniNitinKadam.app/embedded.mobileprovision"
Macs-Mac-Pro:Desktop mac$ codesign -f -s "iPhone Distribution: Sudhir Dhamale" --entitlements Payload5/AshwiniNitinKadam.app/Info.plist Payload5/AshwiniNitinKadam.app
Payload5/AshwiniNitinKadam.app: replacing existing signature
Macs-Mac-Pro:Desktop mac$ zip -qr try.ipa Payload5
Macs-Mac-Pro:Desktop mac$
Photo of Rutika Channawar

Rutika Channawar

  • 5 Posts
  • 0 Reply Likes

Posted 4 years ago

  • 1
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
I have done some changes in xml as well as info.plist file to increase the bundle version
By doing so, you're on your own. Manipulating the .ipa as generated by PGB is quite a bit out of the PGB scope.

Wouldn't it be lots simpler to set the version and the CFBundleShortVersionString in the config.xml before building?
Photo of Rutika Channawar

Rutika Channawar

  • 5 Posts
  • 0 Reply Likes
Hello,

Firstly we tried to do the same thing as that's what make sense.

we edited the config.xml file in notepad and changed the ios-CFBundleVersion and then we build the ipa but our changes didn't reflected.

So by some research we came to know that we have to do the resigning process so we followed that.

Please let us know that are we going wrong somewhere or else what needs to be done so that we can follow it ASAP.
Photo of Rutika Channawar

Rutika Channawar

  • 5 Posts
  • 0 Reply Likes
Hello Sir,

Please elaborate the process to increase the version of the .ipa file as we want to upload it to the app store.

On app store the current version is 1.0.0 and its status is prepare for submission. so we need some higher version to upload the file.

Because whenever we are trying to build the ipa from build.phonegap.com its giving us the same version as 1.0.0 and we cannot upload this to app store.

Application loader says app already exist.

Let us know what needs to be done?
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
Could you please post your config.xml?
Photo of Rutika Channawar

Rutika Channawar

  • 5 Posts
  • 0 Reply Likes
Hello Cordova

A sample Apache Cordova application that responds to the deviceready
event.

Apache Cordova Team










































Photo of Rutika Channawar

Rutika Channawar

  • 5 Posts
  • 0 Reply Likes
Follwoin is thee content of config.xml

Hello Cordova

A sample Apache Cordova application that responds to the deviceready
event.

Apache Cordova Team










































Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
@Rutika,
when posting code use the HTML element <code></code>.
Jesse
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
we edited the config.xml file in notepad and changed the ios-CFBundleVersion
The version is set using the version attribute of the widget element.
What you need to set for iOS is the short versionstring (not CFBundleVersion) using a config-file element:

<config-file platform="ios" parent="CFBundleShortVersionString">
<string>123</string>
</config-file>