前提条件下,苹果手机已经安装的要下载的软件,才可以下载
https://github.com/majd/ipatool
获取详细帮助命令
ipatool-2.2.0-windows-amd64.exe --help for auth login
1.可以使用ipatool软件
https://github.com/majd/ipatool 可以下载最新的windows版本的.exe命令文件 ipatool-2.2.0-windows-amd64.exe
2.打开cmd 执行命令
ipatool-2.2.0-windows-amd64.exe -v 可以查看版本
3.需要登录账号
ipatool-2.2.0-windows-amd64.exe auth login -e xxx_hacker@163.com -p xxx89513
此时手机会弹出授权允许,显示code号
命令中输入得到code账号
就登录成功了
4.搜索手机上下载的app 一定要注意大小写,输入正确的名称,得到bundleID
ipatool-2.2.0-windows-amd64.exe search --limit 1 KnitFlow
5.需要获得许可 命令
ipatool-2.2.0-windows-amd64.exe purchase --bundle-identifier Souv.Knitflow
6.输入下载命令 开始下载
ipatool-2.2.0-windows-amd64.exe download --bundle-identifier Souv.Knitflow --output Knitflow.ipa
7.下载完了可以退出了
ipatool-2.2.0-windows-amd64.exe auth revoke
用法
要向 App Store 进行身份验证,请使用该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.
要在 App Store 上搜索应用程序,请使用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
要获取应用程序的许可证,请使用该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
要获取可供下载的应用程序版本列表,请使用该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
要下载 ipa 文件的副本,请使用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)
--external-version-id string External version identifier of the target iOS app (defaults to latest version when not specified)
-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
要解析命令返回的外部版本标识符list-versions,请使用该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
注意:该工具默认以交互模式运行。--non-interactive如果在自动化环境中运行,请使用此标志。