问题
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