Automate Cydia Impactor sideloading process through Apple Script (on MacOS)
This Apple Script automates Cydia Impactor sideloading process (eg. uploading IPA file to Apple TV) on a MacOS computer.
My personal use case is having ProvenanceTV re-signed on my Apple TV every 7 days (to bypass non-signed IPA - free developer - lifetime Apple's limitation). Script is running on a 24/7 Mac Mini every saturday at 4am (using Apple Scheduler: launchd).
- MacOS computer (not compatible with Windows / Linux)
- Cydia Impactor installed on MacOS computer
- iOS / tvOS device to sideload IPA to
- Apple Developer account (can be a Free one)
- IPA file to be sideloaded
- Download and extract CliClick
- Download and extract SleepDisplay
- Download Apple Script AutoCydiaImpactor.scpt
- Edit AutoCydiaImpactor.scpt to define parameters accordingly (see Configuration section)
- Execute Apple Script throught the command (Terminal)
osascript AutoCydiaImpactor.scpt
AutoCydiaImpactor.scpt must be edited to match your configuration:
Key | Default | Description |
---|---|---|
AppleUsername |
N/A | Your Apple ID developer login (email) |
ApplePassword |
N/A | Your Apple ID developer password |
IPAPath |
N/A | IPA to be sideloaded path |
DeviceLabel |
N/A | Device label to sideload IPA to. Must match one of the entry in Cydia Impactor devices list. e.g. "Apple TV Salon [73fc69972dfa987d61c8a357698e1833fa6f9cd7]" |
CliClickPath |
N/A | CliClick binary filepath (needed to simulate click on Device list) |
SleepDisplayPath |
N/A | SleepDisplay binary filepath (needed to wakeup screen) |