Skip to content

Instantly share code, notes, and snippets.

@rikwatson
Created November 18, 2016 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rikwatson/cb88c497790fd84a8d3cf9baea2587e4 to your computer and use it in GitHub Desktop.
Save rikwatson/cb88c497790fd84a8d3cf9baea2587e4 to your computer and use it in GitHub Desktop.
Simple `.app` to `.ipa` Script
#!/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
@rikwatson
Copy link
Author

Usage /path/to/script/apptoipa.sh MyFabulousApp.app App\_1\_0\_45

From here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment