Skip to content

Instantly share code, notes, and snippets.

@baquaz
Last active August 27, 2019 05:28
Show Gist options
  • Select an option

  • Save baquaz/7db95cd7ae298f18d78e0d369f9fa41d to your computer and use it in GitHub Desktop.

Select an option

Save baquaz/7db95cd7ae298f18d78e0d369f9fa41d to your computer and use it in GitHub Desktop.
Looking into provisioniong profile (.mobileprovision)
#!/bin/bash
# Usage: provide 2 parameters(provisioning profile path and new filename)
#
# sh ./provisioning2xml.sh path xml_name
path=$1
name=$2
echo "Generating $name.xml from path: $path"
security cms -D -i "$path" >> ./"$name".xml
echo "Finished"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment