The BugsplatMac OS X framework enables posting crash reports from Cocoa applications to BugSplat. This allows for your team to process OS X crash reports with BugSplat.
BugsplatMac supports multiple methods for installing the library in a project.
CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries like BugsplatMac in your projects. You can install it with the following command:
To integrate BugsplatMac into your Xcode project using CocoaPods, specify it
Then, run the following command:
The pod install command creates an xcworkspace file next to your application's xcodeproj file. Open the xcworkspace file in lieu of the xcodeproj file to ensure BugsplatMac.framework is included in your build.
Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
You can install Carthage with Homebrew using the following command:
To integrate BugsplatMac into your Xcode project using Carthage, specify it in
carthage to build the framework and drag the built
BugsplatMac.framework into your Xcode project.
To use this library in your project manually you may:
BugsplatMac.frameworkfrom your window in the
Finderinto your project in Xcode and move it to the desired location in the
Create groups for any added foldersand set the checkmark for your target. Then click
Add Build Phasebutton at the bottom and choose
Add Copy Files.
Frameworksfrom the Destination list.
BugsplatMacfrom the Project Navigator left sidebar to the list in the new Copy Files phase.
BugsplatMac requires a few configuration steps in order integrate the framework with your Bugsplat account
/tmp/bugsplat-upload.log. To share amongst your team, mark the scheme as 'Shared'.
bugsplat-logoin the main app bundle or asset calalog
NOin order to prevent the name and email fields from displaying in the crash reporter UI
BugsplatStartupManagerDelegatethat can be implemented to provide an attachment to be uploaded.
-sectcreate __TEXT __info_plist "$(SRCROOT)/BugsplatTesterCLI/Info.plist"
@executable_path/to "Runtime Search Paths" build setting
We have provided BugsplatTester as a sample application for you to test BugSplat. The quickest way to test BugSplat is to do the following:
Clone the BugsplatMac repo and run the following:
git submodule init
git submodule update