majd / ipatool
majd / ipatool
IPATool is a command line tool that allows you to search for iOS, iPadOS, tvOS, and visionOS apps on the App Store and download a copy of the app package, known as an ipa file. IPATool 是一个命令行工具,允许你在 App Store 上搜索 iOS、iPadOS、tvOS 和 visionOS 应用程序,并下载应用程序包的副本(即 ipa 文件)。
Requirements
系统要求
Supported operating system (Windows, Linux or macOS). Apple ID set up to use the App Store. 支持的操作系统(Windows、Linux 或 macOS)。已设置好用于访问 App Store 的 Apple ID。
Installation
安装
Manual: You can grab the latest version of ipatool from GitHub releases. 手动安装: 你可以从 GitHub Releases 获取 ipatool 的最新版本。
Package Manager (macOS): You can install ipatool using Homebrew.
$ brew install ipatool
包管理器(macOS): 你可以使用 Homebrew 安装 ipatool。
$ brew install ipatool
Usage
使用方法
To authenticate with the App Store, use the auth command.
若要进行 App Store 身份验证,请使用 auth 命令。
Authenticate with the App Store
Usage: ipatool auth [command]
Available Commands:
info: Show current account infologin: Login to the App Storerevoke: Revoke your App Store credentials App Store 身份验证 用法:ipatool auth [command]可用命令:info:显示当前账户信息login:登录 App Storerevoke:撤销你的 App Store 凭据
To search for apps on the App Store, use the search command.
若要在 App Store 上搜索应用,请使用 search 命令。
Search for iOS, iPadOS, tvOS, and visionOS apps available on the App Store
Usage: ipatool search <term> [flags]
在 App Store 上搜索 iOS、iPadOS、tvOS 和 visionOS 应用
用法:ipatool search <term> [flags]
To obtain a license for an app, use the purchase command.
若要获取应用的授权,请使用 purchase 命令。
Obtain a license for the app from the App Store
Usage: ipatool purchase [flags]
从 App Store 获取应用授权
用法:ipatool purchase [flags]
To list apps owned by the authenticated account, use the list-purchases command. Results are ordered by purchase date, newest first.
若要列出已认证账户拥有的应用,请使用 list-purchases 命令。结果按购买日期排序,最新的在前。
List apps owned by the authenticated App Store account
Usage: ipatool list-purchases [flags]
列出已认证 App Store 账户拥有的应用
用法:ipatool list-purchases [flags]
To obtain a list of available app versions to download, use the list-versions command.
若要获取可下载的应用版本列表,请使用 list-versions 命令。
List the available versions of an iOS app
Usage: ipatool list-versions [flags]
列出 iOS 应用的可用版本
用法:ipatool list-versions [flags]
To download a copy of the ipa file, use the download command.
若要下载 ipa 文件副本,请使用 download 命令。
Download (encrypted) iOS, iPadOS, tvOS, and visionOS app packages from the App Store
Usage: ipatool download [flags]
从 App Store 下载(加密的)iOS、iPadOS、tvOS 和 visionOS 应用包
用法:ipatool download [flags]
To resolve an external version identifier, returned by the list-versions command, use the get-version-metadata command.
若要解析由 list-versions 命令返回的外部版本标识符,请使用 get-version-metadata 命令。
Retrieves the metadata for a specific version of an app
Usage: ipatool get-version-metadata [flags]
获取应用特定版本的元数据
用法:ipatool get-version-metadata [flags]
Note: the tool runs in interactive mode by default. Use the --non-interactive flag if running in an automated environment.
注意:该工具默认在交互模式下运行。如果在自动化环境中使用,请使用 --non-interactive 标志。
Compiling
编译
The tool can be compiled using the Go toolchain.
$ go build -o ipatool
Unit tests can be executed with the following commands.
$ go generate ./...
$ go test -v ./...
该工具可以使用 Go 工具链进行编译。
$ go build -o ipatool
单元测试可以通过以下命令执行:
$ go generate ./...
$ go test -v ./...
License
许可证
IPATool is released under the MIT license. IPATool 基于 MIT 许可证发布。