
Ferramenta de linha de comando que permite pesquisar e baixar pacotes de aplicativos (conhecidos como arquivos ipa) para iOS, iPadOS, tvOS e visionOS na App Store.
ipatool é uma ferramenta de linha de comando que permite pesquisar aplicativos iOS, iPadOS, tvOS e visionOS na App Store e baixar uma cópia do pacote do aplicativo, conhecido como arquivo ipa.

Você pode obter a versão mais recente do ipatool nas releases do GitHub.
Você pode instalar o ipatool usando o Homebrew.
$ brew install ipatool
Para autenticar na 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, iPadOS, tvOS, and visionOS 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; visionOS supports up to 12 (default 5)
--platform string Platform to search: iphone (iOS), ipad (iPadOS), appletv (tvOS), or visionos
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 de 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 listar os aplicativos pertencentes à conta autenticada, use o comando list-purchases. Os resultados são ordenados por data de compra, do mais recente para o mais antigo.
List apps owned by the authenticated App Store account
Usage:
ipatool list-purchases [flags]
Flags:
-h, --help help for list-purchases
-l, --max-results int maximum number of apps to return per page (default 10)
-p, --page int page of owned apps to return (default 1)
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
Para obter uma lista das versões disponíveis do aplicativo para download, use o comando list-versions.
List the available versions of an iOS app
Usage:
ipatool list-versions [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 list-versions
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
Para baixar uma cópia do arquivo ipa, use o comando download.
Download (encrypted) iOS, iPadOS, tvOS, and visionOS app packages from the App Store
Usage:
ipatool download [flags]
Flags:
-i, --app-id int ID of the target app (required)
-b, --bundle-identifier string The bundle identifier of the target app (overrides the app ID)
--external-version-id string External version identifier of the target app (defaults to latest version when not specified)
-h, --help help for download
-o, --output string The destination path of the downloaded app package
--platform string Platform to download for: iphone (iOS), ipad (iPadOS), appletv (tvOS), or visionos
--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
Para resolver um identificador de versão externa, retornado pelo comando list-versions, use o comando get-version-metadata.
Retrieves the metadata for a specific version of an app
Usage:
ipatool get-version-metadata [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)
--external-version-id string External version identifier of the target iOS app (required)
-h, --help help for get-version-metadata
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
Observação: a ferramenta é executada em modo interativo por padrão. Use a flag --non-interactive
se estiver executando em um ambiente automatizado.
A ferramenta pode ser compilada usando o toolchain do Go.
$ go build -o ipatool
Os testes unitários podem ser executados com os seguintes comandos.
$ go generate ./...
$ go test -v ./...
IPATool é distribuído sob a licença MIT.