我正在尝试从设备文件系统上的 plist 安装 iOS 应用程序。
NSString *launchNewPlistURL = [NSString stringWithFormat:@"itms-services://?action=download-manifest&url=file://%@",[self saveFilePath]];
[[UIApplication sharedApplication]openURL:[NSURL URLWithString:launchNewPlistURL]];
系统提示我“(null) 想安装 {myappname}”。通常 (null) 是 plist 来自的域名,但在这种情况下它是 null,因为它是一个本地文件。
有没有办法在 plist 中指定标题或在 url 中传递假域名?
谢谢, 丹
最佳答案
您可以使用项目MongooseDaemon创建 HTTP 本地服务器。
域类似于:http://192.168.xxx.xxx/yourplist.plist安装它。
无论如何,我认为您不能将它与大型 IPA 一起使用。我已尝试使用大于 15MB 的 IPA,但开始安装非常非常慢。
关于ios - 从本地 plist (null) 安装 iOS Apps 想安装,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11250957/