Castle adds real-time monitoring of your authentication stack, instantly notifying you and your users on potential account hijacks.
- iOS 9.0+
- Xcode 9.0+
Castle is available through CocoaPods, Carthage and Switft Package Manager.
Add Castle as a dependency by including it in your Podfile
.
pod "Castle", "3.0.13"
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. For now we recommend that you use one of the other installation options.
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: "3.0.13"))
]
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
Please see the Mobile Integration Guide.
Library size is approximately 74kb and was calculated using the cocoapods-size tool from Google.