SkillAgentSearch skills...

CheckJailBreakDevice

Detect Jail break device| iOS| Avoid Attackers to intrude in your application by all means possible in a single page| Supported to Swift (world first Protocol Oriented Language 🀘)

Install / Use

/learn @SachinSabat/CheckJailBreakDevice
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

CheckJailBreakDevice - jailbreak-detection

Detect Jail break device| iOS| Avoid Attackers to intrude in your application by all means possible in a single page| Supported to Swift (world first Protocol Oriented Language 🀘)

Swift Version License CocoaPods Compatible
Platform

CheckJailBreakDevice is a framework with a lot of access to detect if the iOS device is a Jail Break in your iOS App.

Features

  • [x] Protocol Oriented based Implementation
  • [x] Light Weight code

Requirements

  • iOS 13.0+
  • Xcode 14.0+
  • Swift 5.0+

Installation

Swift Package Manager (SPM)

  1. In Xcode, go to File > Add Packages…

  2. Enter the repository URL:

    .package(url: "https://github.com/SachinSabat/CheckJailBreakDevice.git", from: "1.0.11")
    
  3. Choose the target where you want to integrate CheckJailBreakDevice.

  4. Click Finish.

CocoaPods

You can install CheckJailBreakDevice using CocoaPods. Add this to your Podfile:

platform :ios, '13.0'
use_frameworks!

pod 'CheckJailBreakDevice'

Then run: pod install

Usage example

// Step 1:- Include Delegate "CheckDeviceIsJailbroken" in your particular ViewController/ AppDelegate.
class ViewController: UIViewController, CheckIfDeviceIsJailbroken {
// Delegate Method to take necessary action
    func sendTheStatusOfJailBreak(value: Bool) {
        if value{
            UIControl().sendAction(#selector(URLSessionTask.suspend), to: UIApplication.shared, for: nil)
            // exit(-1)
        }
    }
   override func viewDidLoad() {
        super.viewDidLoad()
        // Step 2:-
        // What type of check one need to do either by 'readAndWriteFiles' on system or by calling API of system to check if it can run child process
        // preferable is 'readAndWriteFiles'
            checkForJailbrokenDevice(type: .readAndWriteFiles)
     }
}

Also add cydia in your info.plist under LSApplicationQueriesSchemes.

    <key>LSApplicationQueriesSchemes</key>
    <array>
    <string>cydia</string>
    </array>

Tutorial

Medium

Contribute

We would love you for the contribution to CheckJailBreakDevice, check the LICENSE file for more info.

Meta

Sachin Sabat – LinkedIn – sabat.sachin33@gmail.com

Distributed under the MIT license. See LICENSE for more information.

GitHub

View on GitHub
GitHub Stars51
CategoryCustomer
Updated9d ago
Forks12

Languages

Swift

Security Score

95/100

Audited on Mar 28, 2026

No findings