I'm creating an app for ios that works like Installous (this project is a private version for company users) I've found InstallBash.sh from Installous folder and I tried it from SSH. It installs .ipa files but I have 2 problems:
The icon is not showing on the spring board, and ReSpring is not a solution for me (because it interupts the app actions). How can I make it work?
How can I execute the shell script from my iOS app?
P.S: yes this app is being created to be used on jailbroken iDevices, and the app itself will be installed from Cydia.
Can anyone help me on this? Thank you
To run a shell script from within your app, use the C standard library function system()
:
system("/Applications/MyApp.app/installApp.sh someapp.ipa");
To show the app icon, you can have Saurik's UIKit Tools package as a dependency of your app and run - as user mobile - the uicache command:
system("uicache");
I hope this helps.