CocoaPods trunk is moving to be read-only. Read more on the blog, there are 17 months to go.

MoodUp.team

1pod

DebuggIt

debugg.it

debugg.it is a simple, yet powerful tool that helps you get reports of the bugs directly to your defined issue tracker. It is a perfect tool for QA/clients.

Installation

debugg.it is available through CocoaPods. To install it, add the following to your Podfile:

ruby use_frameworks! platform :ios, '9.0' pod 'DebuggIt'

Don’t forget to import the Pod in AppDelegate:

swift import DebuggIt or in Objective-C objc @import DebuggIt;

and add one of these lines (at start of method) to initialize debugg.it

Swift:

swift func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { // Override point for customization after application launch. DebuggIt.sharedInstance.initBitbucket(repoSlug: "repo-name", accountName: "repo-owner-username") // or Github DebuggIt.sharedInstance.initGithub(repoSlug: "repo-name", accountName: "repo-owner-username") // or JIRA DebuggIt.sharedInstance.initJira(host: "jira-host-url", projectKey: "project-key") return true }

Objective-C:

objc - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { // Bitbucket [[DebuggIt sharedInstance] initBitbucketWithRepoSlug: @"repo-name" accountName:@"repo-owner-username"]; // or Github [[DebuggIt sharedInstance] initGithubWithRepoSlug: @"repo-name" accountName:@"repo-owner-username"]; // or JIRA [[DebuggIt sharedInstance] initJiraWithHost:@"jira-host-url" projectKey:@"project-key" usesHttps:YES]; return YES; }

Note: If you are using JIRA and your host do not use SSL, use additional parameter in initialize method:

swift DebuggIt.sharedInstance.initJira(host: "jira-host-url", projectKey: "project-key", usesHttps: false)

objc [[DebuggIt sharedInstance] initJiraWithHost:@"jira-host-url" projectKey:@"project-key" usesHttps:NO];

Additional options

Record notes

debugg.it allows to record audio notes and add it to bug description. To enable this feature simply add this line in your AppDelegate file:

swift DebuggIt.sharedInstance.recordingEnabled = true

objc [DebuggIt sharedInstance].recordingEnabled = YES;

Ensure you have added Microphone Usage Description in your Info.plist file. For example: xml <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>NSMicrophoneUsageDescription</key> <string>debugg.it record notes</string> <!-- Rest of Info.plist file... --> </dict> </plist>

License: Apache-2.0

  • Objective C