Install DebugSwift
Add to your project in under two minutes. DEBUG builds only — never ship the debugger to App Store releases.
Add the dependency
Swift Package Manager is recommended for most projects. CocoaPods works too, with an optional XCFramework for faster builds.
Swift Package Manager
RecommendedIn Xcode: File → Add Package Dependencies → paste the URL:
https://github.com/DebugSwift/DebugSwiftOr declare it in Package.swift:
package(url: "https://github.com/DebugSwift/DebugSwift.git", from: "1.0.0")CocoaPods
Add to your Podfile:
pod 'DebugSwift'XCFramework (faster builds)
Prebuilt binary — up to 50% faster compile times. Ideal for CI and large teams.
pod 'DebugSwift', :http => 'https://github.com/DebugSwift/DebugSwift/releases/latest/download/DebugSwift.xcframework.zip'EXCLUDED_ARCHS arm64 entries from your Podfile or build settings.Initialize in AppDelegate
One setup() call enables the floating debugger. Wrap everything in #if DEBUG so release builds strip the toolkit.
import DebugSwift
#if DEBUG
let debugSwift = DebugSwift()
func application() -> Bool {
debugSwift.setup()
debugSwift.show()
return true
}
#endifNeed filters, custom actions, or programmatic presentation? See configuration docs.
Run and open the debugger
Build for the simulator or a device. The floating ball appears over your app — tap it or shake to toggle.
Build & run
Select a DEBUG scheme and launch on simulator or device.
Tap the ball
The floating overlay opens the full debugger UI in-app.
Shake to toggle
Optional gesture to show or hide without leaving your screen.
Requirements
DebugSwift runs in DEBUG configuration only. Release binaries exclude the toolkit.
- iOS
- iOS 14.0+
- Swift
- Swift 6.0+
- Xcode
- Xcode 16.0+
- Simulator
- Apple Silicon arm64
Debug inside your app. Ship with confidence.
Open-source in-app debugging toolkit for iOS. Inspect network traffic, monitor performance, browse resources, and debug UI, all from a floating overlay inside your app.