Rename ipa extension to zip to extract it later
mv app.ipa app.zip
copy zip file to iphone
scp app.zip [email protected]:/User/Downloads
connect to iphone over ssh
move to /Applications folder
cd /Applications
Create your App.app/ directory (replace App with your app name)
mkdir App.app/
move to user downloads folder
cd /User/Downloads
unzip
unzip app.zip
the ipa contains a folder called Payload, so cd into it
cd Payload
the payload folder contains your App.app folder, move files from this folder to the Applications/App.app/ folder
mv App.app/* /Applications/App.app/
move back
cd ..
we don't need these files anymore
rm -rf Payload
rm app.zip
reset the device cache, then you can see your app on home
uicache
🎉 and voilà, have fun hacking !