Skip to content

Legacy Swift versions

Evgenii Neumerzhitckii edited this page Apr 3, 2019 · 16 revisions

Use the following setup instructions for the previous versions of the library if you use an older version of Swift.

Swift 4.2 Xcode 10

Library version / git tag: 13.0.0

  • File: KeychainSwiftDistrib.swift
  • Carthage: github "evgenyneu/keychain-swift" ~> 13.0
  • CocoaPods: pod 'KeychainSwift', '~> 13.0'
  • Swift Package Manager: specify the 13.0.0 version.

Swift 4.0 Xcode 9

Library version / git tag: 11.0.0

  • File: KeychainSwiftDistrib.swift
  • Carthage: github "evgenyneu/keychain-swift" ~> 11.0
  • CocoaPods: pod 'KeychainSwift', '~> 11.0'
  • Swift Package Manager: specify the 11.0.0 version.

Swift 3.1 Xcode 8.3

Library version / git tag: 8.0.3

  • File: KeychainSwiftDistrib.swift
  • Carthage: github "evgenyneu/keychain-swift" ~> 8.0
  • CocoaPods: pod 'KeychainSwift', '~> 8.0'
  • Swift Package Manager: specify version between 8.0.0 and 9.0.0.

Swift 3.0

Library version / git tag: 7.0.1

  • File: KeychainSwiftDistrib.swift
  • Carthage: github "marketplacer/keychain-swift" ~> 7.0
  • CocoaPods: pod 'KeychainSwift', git: 'https://github.com/marketplacer/keychain-swift.git', tag: '7.0.1'

Swift 3.0 Xcode 8 beta

Xcode 8 beta 4/5

Library version / git tag: 5.0.0

  • File: KeychainSwiftDistrib.swift
  • Carthage: github "marketplacer/keychain-swift" ~> 5.0
  • CocoaPods: pod 'KeychainSwift', git: 'https://github.com/marketplacer/keychain-swift.git', tag: '5.0.0'

Swift 2.3

Git branch: swift_2_3

  • File: KeychainSwiftDistrib.swift
  • Carthage: github "exchangegroup/keychain-swift" "swift_2_3"
  • CocoaPods: pod 'KeychainSwift', git: "https://github.com/marketplacer/keychain-swift.git", branch: "swift_2_3"

Swift 2.2

Library version / git tag: 3.0.16

  • File: KeychainSwiftDistrib.swift
  • Carthage: github "exchangegroup/keychain-swift" ~> 3.0
  • CocoaPods: pod 'KeychainSwift', '~> 3.0'

Swift 1.2

Library version / git tag: 0.1.8

  • File: KeychainSwiftDistrib.swift
  • Carthage: github "exchangegroup/keychain-swift" ~> 0.1
  • CocoaPods: pod 'KeychainSwift', '~> 0.1'

iOS 7 support

Use iOS 7 compatible version of the library.