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
- Clone this repository
- Run
bundle install
from the root of the repository (installing bundler if needed) - Build the gem using
gem build cocoapods-bugsnag.gemspec
- Install the gem using
gem install cocoapods-bugsnag-<version>.gem
Usage
To add the build phase to your project, add pod 'Bugsnag'
, and plugin 'cocoapods-bugsnag'
to your Podfile
:
pod 'Bugsnag'
plugin 'cocoapods-bugsnag'
Then, install with:
pod install
Once added, uploading your dSYM files to Bugsnag will occur automatically.
By default, your Bugsnag API key will either be read from the BUGSNAG_API_KEY
environment variable (add an Xcode build setting with this name to set it) or
from the :bugsnag:apiKey
(or BugsnagAPIKey
) value in your Info.plist
.
Uploading can be disabled by setting DISABLE_COCOAPODS_BUGSNAG=YES
in Xcode's
Build Settings or an xcconfig
file, or as an argument to xcodebuild
.
Support
- Symbolication guide
- Search open and closed issues for similar problems
- Open an issue
License
This module is free software released under the MIT License. See LICENSE.txt for details.