Could someone please advise whether it is possible to install an ipa
file programmatically in iOS
that has been generated by Adhoc
release ?
I have an application that when clicking on a button, it install another application, that is an ipa
file (fetched from a server).
I have tried the following, but it does not work:
string url = "https://192.168.27.45/apps/TruckApp.iOS.plist";
NSString stringUrl = new NSString("itms-services://?action=download-manifest&url="+url);
NSUrl fileUrl = new NSUrl(stringUrl);
UIApplication.SharedApplication.OpenUrl(fileUrl);
There are several things to be checked:
UIApplication.SharedApplication.CanOpenUrl(fileUrl);
returns true TruckApp.iOS.plist
)? .ipa
is being accessed (eg downloaded) .ipa
type - it is supposed to be application/octet-stream
. If you are using Microsoft IIS, it sometimes "misbehaves"
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.