从本地plist(null)安装iOS应用程序需要安装 [英] Installing iOS Apps from a local plist (null) would like to install
问题描述
我正在尝试从设备的文件系统上的plist安装iOS应用程序。
I'm trying to install an iOS app from a plist on the device's filesystem.
NSString *launchNewPlistURL = [NSString stringWithFormat:@"itms-services://?action=download-manifest&url=file://%@",[self saveFilePath]];
[[UIApplication sharedApplication]openURL:[NSURL URLWithString:launchNewPlistURL]];
我提示(null)想安装{myappname}。通常(null)是plist来自的域名,但在这种情况下它是null,因为它是本地文件。
And I'm prompted with "(null) would like to install {myappname}". Usually (null) is the domain name the plist is coming from, but in this case it's null as it's a local file.
无论如何都要指定标题在网址中删除或传递虚假域名?
Is there anyway to specify the title in the plist or pass a fake domain name in the url?
谢谢,
Dan
Thanks, Dan
推荐答案
您可以使用 MongooseDaemon 项目创建HTTP本地服务器。
You can use the project MongooseDaemon to create an HTTP local server.
域名类似于: http:// 192.168.xxx.xxx/yourplist.plist 安装它。
With a domain similar to: http://192.168.xxx.xxx/yourplist.plist to install it.
无论如何,我认为你无法在大型IPA中使用它。我尝试过我的IPA大于15MB,开始安装非常非常慢。
Anyhow, I think you can't use it with an large IPA. I have tried with my IPA greater than 15MB and it is very, very slow to start the install.
这篇关于从本地plist(null)安装iOS应用程序需要安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!