Castle 2.1.5

Castle 2.1.5

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2021

Maintained by Team Castle, Alexander Simson.



Castle 2.1.5

iOS SDK for Castle

Castle adds real-time monitoring of your authentication stack, instantly notifying you and your users on potential account hijacks.

CocoaPods Compatible Carthage Compatible License CircleCI codecov

Requirements

  • iOS 9.0+
  • Xcode 9.0+

Installation

Castle is available through CocoaPods, Carthage and Switft Package Manager.

CocoaPods

Add Castle as a dependency by including it in your Podfile.

pod "Castle", "2.1.5"

Carthage

We have started to include internal dependencies (as xcframeworks) that Carthage currently doesn't support. Therefore we are (temporarily) not supporting Carthage until they add support for adding xcframework dependencies. You can still continue using version 1.0.10 or add the dependency using CocoaPods or Swift Package Manager.

Add Castle as a dependency by including it in your Cartfile.

github "castle/castle-ios" "1.0.10"

Swift Package Manager

Add Castle as a dependency by adding it to the dependencies value of your Package.swift.

dependencies: [
    .package(url: "https://github.com/castle/castle-ios.git", .upToNextMajor(from: "2.1.5"))
]

Manually

Download the zip file from the github release, unzip and drag GeoZip.xcframework, Highwind.xcframework and Castle.xcframework to the Frameworks, Libraries and Embedded Content section of the target. They should all be set to Embed & Sign

Usage

Please see the Mobile Integration Guide.

Library size

Library size is approximately 74kb and was calculated using the cocoapods-size tool from Google.