Skip to content

Instantly share code, notes, and snippets.

@alexsorokoletov
Created July 30, 2015 03:00
Show Gist options
  • Save alexsorokoletov/530c32123c1edc4bbae3 to your computer and use it in GitHub Desktop.
Save alexsorokoletov/530c32123c1edc4bbae3 to your computer and use it in GitHub Desktop.
remove-itunesmetadata.sh
rm -rf ./temporarydir > /dev/null 2>&1
mkdir temporarydir
unzip $1 -d temporarydir
rm -rf ./temporarydir/Payload/*.app/iTunesMetadata.plist
rm -rf "$1.corrected.ipa"
pushd temporarydir
zip -r -X "../$1.corrected.ipa" .
popd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment