我们可以在iPhone设备上自动安装任何.deb/.ipa文件吗? [英] Can we install any .deb/ .ipa file automatically on iPhone device?

查看:125
本文介绍了我们可以在iPhone设备上自动安装任何.deb/.ipa文件吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一项任务要执行,我必须在越狱的iPhone设备上安装一个.ipa文件.该项目与越狱域相关,因此任何解决方案都可以使用,但整个过程应该是自动的,即仅通过编码即可.我已经找到了许多解决方案,但是大多数解决方案都要求获得应用程序的根访问权限,而这件事对我来说从来没有用过.所以有什么想法如何实现这一目标.提前致谢.

I have one task to perform where I have to install one .ipa file on jailbroken iPhone devices. The project is related to jailbroken domain so any solution will work but the entire process should be automatic i.e. through coding only. I have found many solution to this but most of them ask to get the root access for app and this thing never worked for me. So is there any idea how to achieve that. Thanks in advance.

推荐答案

看看功能MobileInstallationInstall

Take a look at the function MobileInstallationInstall

您可以在此处找到一些如何使用它的代码 https://github.com/kryhear/IPAInstaller/blob/master/testMobileInstallationInstall/BSViewController.m

You can find some code how to use it here https://github.com/kryhear/IPAInstaller/blob/master/testMobileInstallationInstall/BSViewController.m

这将要求您使用包含安装"的数组添加权利com.apple.private.mobileinstall.allowedSPI.

It will required you to add entitlement com.apple.private.mobileinstall.allowedSPI with an array containing "Install".

但是,我不确定它是否会完全静音.

However, I am not sure whether it will be completely silent or not.

这篇关于我们可以在iPhone设备上自动安装任何.deb/.ipa文件吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆