使用ipatool獲取App Store中App和游戲的IPA文件

ipatool使用
1、安裝Homebrew
https://brew.sh/index_zh-cn
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
2、安裝ipatool
https://github.com/majd/ipatool
brew tap majd/repo ?使用第三方的庫安裝
brew install ipatool
3、配置用戶信息
sudo ipatool auth login -e 賬號郵箱 -p 密碼
查看用戶信息
sudo ipatool auth info ?
4、查詢app的bundleID
sudo ipatool search -l 5 Wechat
[
? ? {"bundleID":"com.tencent.xin","id":414478124,"name":"WeChat","price":0,"version":"8.0.31"},
? ? {"bundleID":"net.whatsapp.WhatsApp","id":310633997,"name":"WhatsApp Messenger","price":0,"version":"22.24.81"},
? ? {"bundleID":"com.apple.facetime","id":1110145091,"name":"FaceTime","price":0,"version":"1.3.7"},
? ? {"bundleID":"com.atebits.Tweetie2","id":333903271,"name":"Twitter","price":0,"version":"9.39"},
? ? {"bundleID":"com.dimdimsum.AniEmoticonsLite","id":470565538,"name":"AniEmoticons Free - Funny, Cute, and Animated Emoticons, Emoji, Icons, 3D Smileys, Characters, Alphabets, and Symbols for Email, SMS, MMS, Text Messages, Messaging, iMessage, WeChat and other Messenger","price":0,"version":"3.0"}
]
5、下載app
-b bundleID
-o 輸出文件
sudo ipatool download -b com.atebits.Tweetie2 -o twitter.ipa