Comment on page
AltJIT allows apps sideloaded with AltStore to enable just-in-time compilation, more commonly known as JIT. JIT allows some apps to run significantly faster — or even at all — but iOS does not normally allow apps to use JIT for security reasons. AltJIT is an AltStore-specific workaround that allows you to enable JIT for any sideloaded app whenever you're on the same WiFi as AltServer.
There are additional requirements for users on iOS 17. Please see the instructions below.
- 1.Open the "My Apps" tab then long-press the app you want to use JIT.
- 2.Press "Enable JIT" to launch the app, and within a few seconds you should see an AltStore notification saying JIT has been enabled.
- 1.First, make sure that the app you want to use JIT with is running in the foreground of your device.
- 2.Go to “Enable JIT” > [Your Device], then choose an app you want to use with JIT.
Once enabled, an app can continue using JIT until it is force-quit from the app switcher or purged from memory while suspended in the background.
Using AltJIT on iOS 17 is not yet supported for Windows users.
Currently, there are extra steps needed to enable JIT on iOS 17+:
- 1.Open Terminal on your Mac
- 2.Install Xcode Command Line Tools with the following command:
If you are running macOS Sonoma and see an error that Command Line Tools aren’t currently available, try the following commands instead:
sudo mkdir -p /Library/Developer/CommandLineTools
sudo touch /Library/Developer/CommandLineTools/.beta
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install openssl@3
python3 -m pip install -U pymobiledevice3==2.30.0
- 5.Connect your device to your Mac via lightning/USB-C. Enabling JIT via WiFi is not yet supported
- 6.Open AltStore (or any app that requires JIT)
- 7.AltServer run Enable JIT
Once everything is installed, you can now enable JIT as usual from AltServer, though you may be asked to enter your password.
The latest version of pymobiledevice3 is not currently working with AltServer. Please run the following command to install the last compatible version:
python3 -m pip install pymobiledevice3==2.30.0 construct==2.10.69
If you keep getting this error while trying to enable JIT, you can try extending the default timeout duration by entering the command below in Terminal. Just change "120" to your preferred duration (in seconds).
defaults write com.rileytestut.AltServer JITTimeout 120
Make sure you have followed the above instructions and installed pymobiledevice3. If you're still seeing this error after you've installed it, you can try downloading Xcode and using this command to reinstall pymobiledevice3:
/Applications/Xcode.app/Contents/Developer/usr/bin/python3 -m pip install -U pymobiledevice3
This means that you tried to enable JIT without the requested app running in the foreground. Make sure to launch the app and have it running before you enable JIT.
If you're still running into issues, you can enable it from AltStore by long-pressing the app in the My Apps tab and selecting "Enable JIT"
Make sure your device is plugged into your Mac/PC via USB/Lightning until AltJIT has successfully been enabled. Once it's been enabled, you can unplug your device and continue using JIT as long as the app is kept running.
Last modified 29m ago