Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add provisioning profile to IPA file

Tags:

ios

ipa

I downloaded an IPA off the web and I want to upload it to Diawi or TestFlight for demo testing, but I keep getting errors like No provisioning profile found in the application bundle or Invalid IPA: missing embedded provisioning profile. Are you sure this is an ad hoc?

How can I edit the IPA so I can successfully upload them to the demo sites?

PS: I don't have XCode.

like image 821
Jason Lehman Avatar asked Nov 14 '22 00:11

Jason Lehman


1 Answers

You can't.

When the .ipa was built, it had to have been built with a provisioning profile in order to be distributed. In addition, your test device's UDID has to be on the list of valid devices for that provisioning profile. Once the .ipa has been created, you can't go back and edit it. If you want to be able to run it on your device, you need to create a new one--or have the original person who created the .ipa make a new one, since you don't have XCode.

like image 198
WendiKidd Avatar answered Dec 24 '22 21:12

WendiKidd