/cocoapods-bugsnag

A CocoaPods plugin to integrate bugsnag into your project workspace

Primary LanguageRubyMIT LicenseMIT

cocoapods-bugsnag

A CocoaPods plugin for integrating Cocoa projects with Bugsnag, an error tracking and resolution tool. When installed, the plugin will add a Run Script build phase to your project workspace to upload your dSYM files so the Bugsnag service can provide you with symbolicated stack traces.

Installation

cocoapods-bugsnag is available via RubyGems. To install, run:

gem install cocoapods-bugsnag

Installing from Source

  1. Clone this repository
  2. Run bundle install from the root of the repository (installing bundler if needed)
  3. Build the gem using gem build cocoapods-bugsnag.gemspec
  4. Install the gem using gem install cocoapods-bugsnag-<version>.gem

Usage

To add the build phase to your project, add pod ‘Bugsnag’ to your Podfile and run:

pod install

By default, your Bugsnag API key will either be read from the BUGSNAG_API_KEY environment variable or from the :bugsnag:apiKey (or BugsnagAPIKey) value in your Info.plist. Alternatively edit the script in the new "Upload Bugsnag dSYM" build phase in Xcode.

Support