ARTICLE DETAIL

资讯详情

深耕郑州网站建设与运营推广的一线实战洞察。

IPATool:可在 App Store 搜索下载应用的强大命令行工具

IPATool:可在 App Store 搜索下载应用的强大命令行工具 IPATool强大的 App Store 应用管理工具IPATool 是一款命令行工具借助它能够在 App Store 上搜索 iOS、iPadOS、tvOS 和 visionOS 应用并下载应用安装包即 .ipa 文件。使用要求操作系统支持 Windows、Linux 或 macOS。Apple ID需设置好可用于 App Store 的 Apple ID。安装方法手动安装可以从 GitHub 的发布页面获取最新版本的 ipatool。使用包管理器仅适用于 macOS可以使用 Homebrew 来安装 ipatool命令如下$ brew install ipatool使用方法与 App Store 进行身份验证使用 auth 命令进行身份验证具体用法如下Usage: ipatool auth [command]Available Commands:info Show current account infologin Login to the App Storerevoke Revoke your App Store credentialsFlags:-h, --help help for authGlobal 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若想了解某个命令的更多信息可使用 ipatool auth [command] --help。在 App Store 上搜索应用使用 search 命令搜索 iOS、iPadOS、tvOS 和 visionOS 应用用法如下Usage: ipatool search [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 visionosGlobal 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获取应用许可证使用 purchase 命令从 App Store 获取应用许可证用法如下Usage: ipatool purchase [flags]Flags:-b, --bundle-identifier string Bundle identifier of the target iOS app (required)-h, --help help for purchaseGlobal 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列出已认证账户拥有的应用使用 list-purchases 命令列出已认证 App Store 账户拥有的应用结果按购买日期排序最新的排在前面用法如下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获取可下载的应用版本列表使用 list-versions 命令列出 iOS 应用的可用版本用法如下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-versionsGlobal 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下载 .ipa 文件使用 download 命令从 App Store 下载加密的iOS、iPadOS、tvOS 和 visionOS 应用安装包用法如下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 neededGlobal 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解析外部版本标识符使用 get-version-metadata 命令解析 list-versions 命令返回的外部版本标识符获取应用特定版本的元数据用法如下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-metadataGlobal 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注意该工具默认以交互模式运行。如果在自动化环境中运行请使用 --non-interactive 标志。编译方法可以使用 Go 工具链来编译该工具命令如下$ go build -o ipatool可以使用以下命令执行单元测试$ go generate ./...$ go test -v ./...许可证IPATool 采用 MIT 许可证发布。
返回列表