I want to uninstall iOS app via shell in jailbroken iPhone in batches. In my mind just use
rm -rf ${path/to/sandbox}..........
but after doing this in the shell, the icon of the app which I want installed still exists in springboard. Would be anything else should be remove?
If I'm understanding your problem correctly, you are using a simple rm
command to delete your app. You then notice that after removing the .app
folder, you still see an app icon on your SpringBoard. Right?
The solution to this is simply to force SpringBoard to refresh its list of apps. You can do this at the command line (on the phone) with:
su mobile -c uicache
The uicache
command, run as user mobile
will update the list of applications. After a few seconds, you'll see the app icon disappear.