https://docs.bitdrift.io/ | Slack
See the official documentation to learn more about how to integrate the library in your project.
The following code demonstrates an example setup of Capture SDK in your app:
import Capture
Logger.start(
withAPIKey: "<your-api-key>",
sessionStrategy: .activityBased()
)
target 'MyApp' do
pod 'BitdriftCapture'
# Optional integration with CocoaLumberjack logging library
pod 'CaptureCocoaLumberjack'
# Optional integration with SwiftyBeaver logging library
pod 'CaptureSwiftyBeaver'
end
.package(url: "https://github.com/bitdriftlabs/capture-ios.git", from: "<version>")
Open Package.swift
file using Xcode to start developing.
Run make test
to run project tests.
Run make format
to run various formatting tools and linter checks.
Run make verify
to verify CocoaPods specs.