DevCycleHQ/ios-client-sdk
DevCycle - iOS SDKs (Includes macOS, watchOS, tvOS)
Requirements
This version of the DevCycle Client SDK supports iOS 12.0+ / tvOS 12.0+ / watchOS 7.0+ / macOS 10.13+
Installation
CocoaPods
The SDK can be installed into your iOS project by adding the following to your cocoapod spec:
pod 'DevCycle'Then, run pod install.
Swift Package Manager
To use the library with Swift Package Manager, include it as a dependency in your Package.swift file like so:
...
dependencies: [
.package(url: "https://github.com/DevCycleHQ/ios-client-sdk.git", .upToNextMajor("1.11.2")),
],
targets: [
.target(
name: "YOUR_TARGET",
dependencies: ["DevCycle"]
)
],
...You can also add it through Xcode, i.e. File > Swift Packages > Add Package Dependency, then enter the repository clone URL.
Carthage
WARNING: MacOS development with Carthage is currently not supported with DevCycle.
Include the following in your Cartfile to integrate DevCycle as a dependency to your project:
github "DevCycleHQ/ios-client-sdk"Then, run carthage update --use-xcframeworks. Drag the built .xcframework bundles from Carthage/Build into the "Frameworks and Libraries" section of your application's Xcode project.
OpenFeature Support
If you want to use DevCycle with the OpenFeature API, use the provider from its repository:
https://github.com/DevCycleHQ/ios-openfeature-provider
Add it to your Swift Package Manager dependencies:
.package(url: "https://github.com/DevCycleHQ/ios-openfeature-provider.git", from: "1.0.0")And in your target dependencies:
.target(
name: "YourTarget",
dependencies: [
.product(name: "DevCycleOpenFeatureProvider", package: "ios-openfeature-provider")
]
)The OpenFeature provider requires iOS 14.0+ / tvOS 14.0+ / watchOS 7.0+ / macOS 11.0+ and is only available via Swift Package Manager. It cannot be installed with CocoaPods or Carthage.
Usage
To find usage documentation, check out our docs.
Package Metadata
Repository: DevCycleHQ/ios-client-sdk
Homepage: https://docs.devcycle.com/
Stars: 23
Forks: 5
Open issues: 6
Default branch: main
Primary language: swift
License: MIT
Topics: continuous-delivery, continuous-deployment, devcycle, devops, feature-flags, feature-toggles, openfeature
README: README.md