Swiftpack.co - softnoesis/ShakeBug as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
Bug & Crash reporting tool.
.package(url: "https://github.com/softnoesis/ShakeBug.git", from: "1.0.19")


Shakebug allows you to receive feedback from your beta testers or real users and improve the quality of your application in a simple way. Here users just need to shake their mobile and all the data regarding bugs & crashes can be seen by developers through their log in panel. It also helpful to analyse your users, session, location etc. Addition, you can add events on each action of your application and track it using this Shakebug framework.

Sign up for a service at https://www.shakebug.com

Supported following type of iOS projects

  1. Swift
  2. Objective-C
  3. SwiftUI
  4. Project with and without SceneDeleage



To integrate ShakeBug into your Xcode project using CocoaPods, specify it in your Podfile:

pod 'ShakeBug'

Then, run the following command:

$ pod install


Add following line to your Xcode project's Cartfile

github "softnoesis/ShakeBug"

Then, run the following command:

$ carthage update

Then drag Shakebug.xcframework from Carthage folder to your Xcode project's settings.

Swift Package Manager

Navigate to the SPM section in your project, add a new package, point it to


and select the latest version.


  1. Import the ShakeBug framework header into your app delegate.

    // Swift
    import ShakeBug
    // Objective-C
    #import <ShakeBug/ShakeBug.h>
  2. Add the following to your app delegate's application:didFinishLaunchingWithOptions: method.

    // Swift
    ShakeBug.sharedInstance().initiate(withKey: “<Your Key>")
    // Objective-C
    [[ShakeBug sharedInstance] initiateWithKey:@"<Your Key>"];

    Be sure to replace <Your Key> with your application key which given by ShakeBug website.

Optional Settings

  1. Add the following to your app delegate's application:didFinishLaunchingWithOptions: method for showing or not showing first time tutorial screen
// Swift
ShakeBug.sharedInstance().showTutorialScreenFirstTime(false) // Default value True
// Objective-C
[[ShakeBug sharedInstance] showTutorialScreenFirstTime:NO];// Default value YES
  1. If you want to show bug or crash from Simulator then use following code application:didFinishLaunchingWithOptions:
// Swift
ShakeBug.sharedInstance().allowCrash(fromSimulator:true) // Default value false
// Objective-C
[[ShakeBug sharedInstance] allowCrashFromSimulator:YES];// Default value NO
  1. If you dont want to show any logs on console then use following code application:didFinishLaunchingWithOptions:
// Swift
ShakeBug.sharedInstance().makeLogEnabled(false) // Default value false
// Objective-C
[[ShakeBug sharedInstance] makeLogEnabled:NO];// Default value NO
  1. If you want add event to any screen or activity use following methods
// Swift
ShakeBug.sharedInstance().addEventKey("App_open", eventValue: "Started app") //pass any key or value
// Objective-C
[[ShakeBug sharedInstance] addEventKey:@"App_open" eventValue:@"Started app"];// pass any key or value


Build & run your app. Once your app is running, shake your device (^⌘Z in the simulator) to report a bug! Bug/Crash reports are sent directly to login panel of Shakebug.com and also notify on your registered email address.


Visit on: https://www.shakebug.com

Contact us on contact@shakebug.com in case of any use.


Stars: 0
Last commit: 1 week ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Submit a free job ad (while I'm testing this). The analytics numbers for this website are here.

Related Packages

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics