mp
Description
mp is simple analyzer for .mobileprovision file
Usage
dump
$ mp /path/to/example.mobileprovision
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AppIDName</key>
....
</dict>
</plist>
read
$ mp --key UUID /path/to/example.mobileprovision
$ mp -k UUID /path/to/example.mobileprovision //short ver
XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
install
$ mp --install /path/to/example.mobileprovision
$ mp -i /path/to/example.mobileprovision //short ver
Installed to /Users/example/Library/MobileDevice/Provisioning Profiles/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX.mobileprovision
Install
To install, use go get
:
$ go get -d github.com/henteko/mp
$ cd $GOPATH/src/github.com/henteko/mp
$ make install
Contribution
- Fork (https://github.com/henteko/mp/fork)
- Create a feature branch
- Commit your changes
- Rebase your local changes against the master branch
- Run test suite with the
go test ./...
command and confirm that it passes - Run
gofmt -s
- Create new Pull Request