- Jailbreak your iPhone (as of Jan 2021, https://checkra.in is a good option if you have a pre iOS 14 device). I advice you to not use your main device for this
- Make sure Cydia is installed on your jailbroken iPhone
- Open Cydia (performing any neccessary updates if needed), tap "Search", and install "OpenSSH" (from apt.bingner.com) and "IPA Installer" (from BigBoss). This should install "IPA Installer Console" package as well.
- Make sure your iPhone is connected to the same Wi-Fi as your Mac.
- On your iPhone, open "Settings" -> "Wi-Fi", then tap on the info button (ℹ) next to the connected wi-fi network, and note down your IP Address. You will use it for SSH connection.
- Use this guide to get access to your jailbroken iPhone via SSH with your Mac.
(TL;DR for SSH:)
SSH -p <PORT> root@<ip_address>
PORT is either 22 or 44, see what works.
For freshly jailbroken device, password is "alpine".
After being connected succesfully, make sure to change your password using
passwd
command.
- Make sure that the iMessage sticker pack you're interested in is installed.
- While being connected by SSH, use
ipainstaller -l
command and find the bundle identifier of the sticker pack. - To make an exportable IPA file, use
ipainstaller -b <app_bundle>
It will create an .IPA file. Note down the path to the extracted file.
- In a separate terminal tab, use
scp
to transfer the IPA file from your iPhone to your Mac.
scp -r root@<ip_address>:/private/var/mobile/Documents/<filename> ~/Downloads/
In this case, it will put the file into the "Downloads" folder on your Mac, but you can use a different folder if you want, of course.
- Open "Downloads" folder in Finder. Find your IPA file; rename it from .ipa to .zip and unarchive it.
- Open unarchived folder -> "Payload" -> you'll see <stickerpack_name>.app. Right click -> "Show Package Contents".
- Open "Plugins" -> you'll see .appex. Right click -> "Show Package Contents".
- You'll find sticker images in the "Sticker Pack.stickerpack" folder.
- Enjoy!