Installation
- iOS 7.0 or greater
- OS X 10.9 or greater
- Xcode 6.3 or 6.4 with Swift 1.2
Note: For Xcode 7 and Swift 2 compatibility, please check out LogKit 2.
There are a few ways to install LogKit. You may choose any one method from those below. After completing installation, visit the usage guide to get started.
CocoaPods
Supports iOS 8+, OS X 10.9+
CocoaPods version 0.36 or higher is required. Include LogKit in your Podfile:
For more information on using CocoaPods, read the guide.
Carthage
Supports iOS 8+, OS X 10.9+
Include LogKit in your Cartfile:
For more information on getting started with Carthage, visit the repo.
Embedded Framework
Supports iOS 8+, OS X 10.9+
Download LogKit. Include LogKit.xcodeproj
within your project (second level, below your project root, as a sub-project). The LogKit project icon should be indented slightly to the right relative to your main project’s icon.
Select your main project’s target, and add LogKit as an Embedded Binary in the General tab.
Add the top LogKit for an iOS target, or the bottom LogKit for OS X. You may choose from either grouping.
Source
Supports iOS 7+, OS X 10.9+
Integrating the LogKit source is the only way to include LogKit in projects targeting iOS 7. When this installation method is used, skip the
import LogKit
.
Download LogKit. Add the LogKit.swift
file found in the Source
directory to your project. No other steps are necessary for installation.