ipatool é uma ferramenta de linha de comando que permite pesquisar aplicativos iOS na App Store e baixar uma cópia do pacote de aplicativos, conhecido como arquivo IPA .

Você pode pegar a versão mais recente do ipatool do GitHub Lankes.
Você pode instalar ipatool usando homebrew.
$ brew tap majd/repo
$ brew install ipatool Para autenticar com a App Store, use o comando auth .
Authenticate with the App Store
Usage:
ipatool auth [command]
Available Commands:
info Show current account info
login Login to the App Store
revoke Revoke your App Store credentials
Flags:
-h, --help help for auth
Global Flags:
--format format sets output format for command; can be 'text', 'json' (default text)
--non-interactive run in non-interactive session
--verbose enables verbose logs
Use "ipatool auth [command] --help" for more information about a command.
Para pesquisar aplicativos na App Store, use o comando search .
Search for iOS apps available on the App Store
Usage:
ipatool search <term> [flags]
Flags:
-h, --help help for search
-l, --limit int maximum amount of search results to retrieve (default 5)
Global Flags:
--format format sets output format for command; can be 'text', 'json' (default text)
--non-interactive run in non-interactive session
--verbose enables verbose logs
Para obter uma licença para um aplicativo, use o comando purchase .
Obtain a license for the app from the App Store
Usage:
ipatool purchase [flags]
Flags:
-b, --bundle-identifier string Bundle identifier of the target iOS app (required)
-h, --help help for purchase
Global Flags:
--format format sets output format for command; can be 'text', 'json' (default text)
--non-interactive run in non-interactive session
--verbose enables verbose logs
Para baixar uma cópia do arquivo IPA, use o comando download .
Download (encrypted) iOS app packages from the App Store
Usage:
ipatool download [flags]
Flags:
-i, --app-id int ID of the target iOS app (required)
-b, --bundle-identifier string The bundle identifier of the target iOS app (overrides the app ID)
-h, --help help for download
-o, --output string The destination path of the downloaded app package
--purchase Obtain a license for the app if needed
Global Flags:
--format format sets output format for command; can be 'text', 'json' (default text)
--keychain-passphrase string passphrase for unlocking keychain
--non-interactive run in non-interactive session
--verbose enables verbose logs
Nota: A ferramenta é executada no modo interativo por padrão. Use o sinalizador --non-interactive se estiver em execução em um ambiente automatizado.
A ferramenta pode ser compilada usando a cadeia de ferramentas Go.
$ go build -o ipatoolOs testes de unidade podem ser executados com os seguintes comandos.
$ go generate github.com/majd/ipatool/...
$ go test -v github.com/majd/ipatool/...O ipatool é liberado sob a licença do MIT.