-
-
Notifications
You must be signed in to change notification settings - Fork 6
Installation
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:
$ gem install cocoapodsTo integrate BugsplatMac into your Xcode project using CocoaPods, specify it in your Podfile:
target 'TargetName' do
pod 'BugsplatMac'
endThen, run the following command:
pod installThe pod install command creates an xcworkspace file next to your application's xcodeproj file. Open the xcworkspace file instead of the xcodeproj file to ensure BugsplatMac.framework is included in your build.
You can update BugSplat by running:
pod updateIf you run into an error regarding rsync, you can fix this error by setting User Script Sandboxing to No under Build Settings.
Carthage is a decentralized dependency manager that builds your dependencies and provides binary frameworks.
You can install Carthage with Homebrew using the following command:
$ brew update
$ brew install carthageTo integrate BugsplatMac into your Xcode project using Carthage, specify it in your Cartfile:
github "BugsplatGit/BugsplatMac"
Run 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:
- Download the latest release from https://github.com/BugSplatGit/BugsplatMac/releases, which is provided as a zip file
- Unzip the archive and add BugsplatMac.framework to your Xcode project
- Drag & drop
BugsplatMac.frameworkfrom your window in theFinderinto your project in Xcode and move it to the desired location in theProject Navigator - A popup will appear. Select
Create groups for any added foldersand set the checkmark for your target. Then clickFinish. - Configure the framework to be copied into your app bundle:
- Click on your project in the
Project Navigator(⌘+1). - Click your target in the project editor.
- Click on the
Build Phasestab. - Click the
Add Build Phasebutton at the bottom and chooseAdd Copy Files. - Click the disclosure triangle next to the new build phase.
- Choose
Frameworksfrom the Destination list. - Drag
BugsplatMacfrom the Project Navigator left sidebar to the list in the new Copy Files phase.