Can we install any .deb/ .ipa file automatically on iPhone device?

╄→尐↘猪︶ㄣ 提交于 2019-12-24 15:22:41

问题


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.


回答1:


Take a look at the function MobileInstallationInstall

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

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.



来源:https://stackoverflow.com/questions/17398386/can-we-install-any-deb-ipa-file-automatically-on-iphone-device

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!