Created
November 18, 2016 14:00
-
-
Save rikwatson/cb88c497790fd84a8d3cf9baea2587e4 to your computer and use it in GitHub Desktop.
Simple `.app` to `.ipa` Script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ -d "Payload" ]; then | |
rm -fr Payload/* | |
else | |
mkdir Payload | |
fi | |
# if you'd rather copy the .app file, then replace the next line with: | |
# cp -r $1 Payload | |
mv $1 Payload | |
zip -r $2.ipa Payload | |
rm -fr Payload |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Usage
/path/to/script/apptoipa.sh MyFabulousApp.app App\_1\_0\_45
From here