iOS quickstart
Add the Swift package and send a report from a native iOS app.
Install the package
This guide uses the 0.3.2 release. Use iOS 15 or later, Xcode 16.3 or later, and Swift 6.1 or later. Your GitHub account needs read access to the SDK repository if it is private.
In Xcode, choose File → Add Package Dependencies, enter the Bugless Swift package URL, select the exact version 0.3.2, and add the ZeroBugs product to your app target.
Configure Bugless
Use the SDK token for your project. Load it from the app’s build configuration and initialize the SDK once at startup.
import ZeroBugs
ZeroBugsReporter.configure(sdkToken: projectSDKToken)
To provide an in-app entry point, add a feedback button to a SwiftUI view.
Button("Send feedback") {
ZeroBugsReporter.presentBugReportForm(completion: nil)
}
Send and find a test report
Run the app, tap Send feedback, choose a category, and enter a description. Review any attached evidence before sending. In the Bugless dashboard, open Reports and select the project associated with your SDK token.