/mp

mp is simple analyzer for .mobileprovision file

Primary LanguageGo

mp Build Status

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

  1. Fork (https://github.com/henteko/mp/fork)
  2. Create a feature branch
  3. Commit your changes
  4. Rebase your local changes against the master branch
  5. Run test suite with the go test ./... command and confirm that it passes
  6. Run gofmt -s
  7. Create new Pull Request

Author

henteko