• OS X 10.9 or greater
  • iOS 7.0 or greater
  • watchOS 2.0 or greater
  • Xcode 7 with Swift 2

Note: For Xcode 6 and Swift 1.2 compatibility, please check out LogKit 1.1.

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 OS X 10.9+, iOS 8+, watchOS 2+

CocoaPods version 0.38 or higher is required. Include LogKit in your Podfile:

use_frameworks!
pod 'LogKit', '~> 2.0'

For more information on using CocoaPods, read the guide.

Carthage

Supports OS X 10.9+, iOS 8+, watchOS 2+

Include LogKit in your Cartfile:

github "logkit/logkit" ~> 2.0

For more information on getting started with Carthage, visit the repo.

Embedded Framework

Supports OS X 10.9+, iOS 8+, watchOS 2+

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.

Embedded Installation Image 1

Select your main project’s target, and add LogKit as an Embedded Binary in the General tab.

Embedded Installation Image 2

Add the top LogKit for an OS X target, the middle LogKit for iOS, or the bottom for watchOS. You may choose from either grouping.

Embedded Installation Image 3

Source

Supports OS X 10.9+, iOS 7+, watchOS 2+

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 all of the .swift files found in the Sources directory to your project. No other steps are necessary for installation.