Skip to main content

iOS

Add the MPS.xcframework to your target and update your Info.plist to allow the verification of Jailbreak related Applications:

<key>LSApplicationQueriesSchemes</key>
<array>
<string>undecimus</string>
<string>sileo</string>
<string>zbra</string>
<string>filza</string>
<string>activator</string>
</array>

MPS can then be used to test for a jailbroken device, the app being reverse engineered and retrive an endpoint securely stored within the library:

import MPS
...

let mps = MPS.load()
mps.version // String
mps.code // Validation code, used to know what failed during the validation
mps.isJailbroken // Bool
mps.isBeingReverseEngineered // Bool
mps.get<SecretKey> // Returns string representing the value for the key. Important to notice that if the validation failed, the value will not be correct