Swiftpack.co - castle/castle-ios as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by castle.
castle/castle-ios 2.1.4
iOS library for Castle
⭐️ 3
🕓 3 weeks ago
iOS
.package(url: "https://github.com/castle/castle-ios.git", from: "2.1.4")

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.4"

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.4"))
]

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.

GitHub

link
Stars: 3
Last commit: 3 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

Release v2.1.4
3 weeks ago

Fix: #73 Add dependencies Highwind and GeoZip to Package.swift.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics