10 - Jailbroken iOS devices (Pro)
Goal: You will learn how to notice when your iOS app runs on a jailbroken device.
This guide needs the Pro version.
The problem
A normal iPhone or iPad keeps every app inside Apple's limits. An app cannot read the files of another app or change its memory.
A jailbreak removes those limits. On a jailbroken device, other tools can run next to your game. They can change its values, read its files, or load extra code into it.
That hurts your game. The cheats that are hard on a normal iPhone become easy.
The solution
The iOS Jailbreak Detector looks for the common signs of a jailbreak: jailbreak apps, files that should not exist, limits that no longer hold, and extra code loaded into your game.
It does not block the jailbreak. It tells the Anti-Cheat Monitor, so you can react.
Step 1: Check the iOS plugin
The check uses a native plugin, a small library made for iOS. It ships in Assets/GUPS/AntiCheat/Plugins/iOS/.
Select the plugin and look at its import settings in the Inspector.
Important
Keep Add to Embedded Binaries turned on. Without it, the iOS app can crash when it starts.
Step 2: Make sure the detector is there
The predefined Anti-Cheat-Monitor prefab already includes the iOS Jailbreak Detector. If you use it, you have nothing to do here.
If you use your own monitor prefab, add the iOS Jailbreak Detector prefab to it. Drag it onto the monitor in your prefab so it becomes a child.

Image 1: The detector prefabs in Assets/GUPS/AntiCheat/Resources/Prefabs/Detectors.
Step 3: Choose which signs to check
Open Edit > Project Settings > GuardingPearSoftware > AntiCheat, on the iOS tab. Go to iOS - Jailbreak - Settings.

Image 2: The iOS jailbreak settings.
All five checks are on by default. You can turn each one off.
| Setting | What it looks for |
|---|---|
| Detect URL schemes | Jailbreak apps on the device, such as Cydia or Sileo. Suspicious URL schemes is the list of apps to ask for |
| Detect suspicious paths | Files and folders that only exist on a jailbroken device. Suspicious paths is the list |
| Detect sandbox violation | Whether your app can write outside its own folder. On a normal device it cannot |
| Detect dyld injection | Extra code that was forced into your game when it started. Allowed library prefixes lists the places such code may come from |
| Detect suspicious dylibs | Known cheat and tweak libraries loaded into your game. Suspicious dylibs is the list of names |
The shipped lists cover the common jailbreaks. You can add your own entries.
When Detect URL schemes is on, Anti-Cheat adds the entries iOS needs to your build. You do not have to edit the Info.plist yourself.
Note
Verify development builds is off by default. While it is off, this check skips the Unity Editor and development builds. Turn it on while you test.
The result
When a sign is found, the detector reports it and raises the threat score of the Anti-Cheat Monitor. You can then refuse a purchase, flag the session, or close the game.
A jailbroken device makes cheating possible. It is not proof that the player cheats. Some players jailbreak for other reasons. Keep that in mind when you choose a reaction.
Note
The predefined monitor prefab has no punisher. A find raises the threat score, but nothing more happens to the player until you react yourself or add a punisher.
Settings reference: iOS jailbreak.
Next steps
- Protecting an iOS build notices an app that was not installed from the App Store.
- Reacting to detected cheating and Punishing cheaters show what to do when a jailbreak is found.
Next guide: 11 - Protecting a desktop build (Pro).
Back to the Guides overview.