Installing Kanna
Three means of installation are supported:
CocoaPods
1.1.0 or later
) is required.
Adding it to your Podfile
:
use_frameworks!
pod 'Kanna', '~> 2.0.0'
Carthage
Adding it to your Cartfile
:
github "tid-kijyun/Kanna" ~> 2.0.0
- In the project settings add $(SDKROOT)/usr/include/libxml2 to the “header search paths” field
Swift Package Manager (beta)
Adding it to your Package.swift:
import PackageDescription
let package = Package(
name: "YourProject",
dependencies: [
.Package(url: "https://github.com/tid-kijyun/Kanna.git", majorVersion: 2)
]
)