Swiftpack.co - rollbar/rollbar-apple as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by rollbar.
rollbar/rollbar-apple v2.0.0-beta9
Objective-C & Swift library for remote crash, exception, error reporting, and logging with Rollbar. It works on all Apple *OS platforms (macOS, iOS, tvOS, watchOS, etc).
⭐️ 14
🕓 1 year ago
iOS macOS watchOS tvOS
.package(url: "https://github.com/rollbar/rollbar-apple.git", from: "v2.0.0-beta9")

Rollbar Logo

Rollbar SDK for any Apple *OS

Objective-C & Swift SDK for remote crash, exception, error reporting, and logging with Rollbar.

It works on all Apple *OS platforms (macOS, iOS, tvOS, watchOS, etc).

NOTE: This SDK is essentially a reincarnation of our Rollbar-iOS SDK that will be available for awhile in its current v1 version and will only maintained with fixes to bug or security issues if any. All the active development will be done within this SDK repository.

The Apple SDK is GA. Learn more: https://docs.rollbar.com/docs/apple

Codebase status (code quality and CI build)

CI Build Status

CI Build with Unit Tests

Security Rating Reliability Rating Maintainability Rating Vulnerabilities Coverage Lines of Code Bugs

Package Distribution Systems Status

GitHub all releases downloads total

SwiftPM compatible Carthage compatible CocoaPods compatible

Platform Platform Platform Platform Platform Platform Platform Platform

CocoaPods CocoaPods CocoaPods CocoaPods CocoaPods CocoaPods CocoaPods CocoaPods

Setup Instructions

  1. Sign up for a Rollbar account
  2. Follow the Installation instructions in our Rollbar-Apple SDK docs to install the SDK modules.

Usage and Reference

For complete usage instructions and configuration reference, see our Rollbar-Apple SDK docs.

Release History & Changelog

See our Releases page for a list of all releases, including changes.


  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Help / Support


Stars: 14
Last commit: 5 days ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

5 days ago

What's Changed


  • New SDK Demos for iOS Swift and Objective-C.
  • Fixed a rare crash during JSON serialization.
  • More robust and more flexible SDK reconfigurability.
  • Thread safety by design.
  • Fully independent configurability of each individual instance of a logger.
  • Flexible and standardized rate limiting control (both locally configured and server enforced).
  • Structured payload storage based on Sqlite instead of a flat text file.
  • Improved local payload logging based on developer options of a config object. Separately for all the incoming vs transmitted vs dropped payloads.
  • Improved internal diagnostics of the SDK with reach debug build assertions.
  • Ooptimized payload modification implementation.
  • Improved performance of the RollbarThread.
  • Improved internal SDK recovery from any unforeseen internal SDK exceptions/errors (including during processing of totally custom user-specified data within a payload).
  • General codebase code quality and maintainability improvements.
  • A higher level of code reuse.
  • And more...

New Contributors

Full Changelog: https://github.com/rollbar/rollbar-apple/compare/2.3.4...2.4.0

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