CybexoSDK iOS Setup
Last updated: July 1, 2026
| Property | Value |
|---|---|
| CocoaPods package | pod 'CybexoSDK', '~> 1.0' |
| Minimum | iOS 14 |
| Public entrypoint | CybexoCMP |
1. Install with CocoaPods
Section titled “1. Install with CocoaPods”Add the pod to your Podfile.
platform :ios, '14.0'
target 'YourApp' do use_frameworks! pod 'CybexoSDK', '~> 1.0'endThen run:
pod install --repo-updateopen YourApp.xcworkspacePin an exact version for production release builds when required by your release process.
2. Initialize
Section titled “2. Initialize”Initialize once during app startup.
import SwiftUIimport CybexoSDK
struct ContentView: View { @State private var didInitialize = false
var body: some View { Button("Review Consent") { CybexoCMP.shared.showBanner(force: true) } .onAppear { guard !didInitialize else { return }
CybexoCMP.shared.initialize(settingsId: "YOUR_SETTINGS_ID") { print("CYBEXO CMP ready") }
didInitialize = true } }}3. Reopen Preferences
Section titled “3. Reopen Preferences”Expose a privacy or settings entry so users can review consent later.
CybexoCMP.shared.showBanner(force: true)4. Verification
Section titled “4. Verification”Before production release:
- Initialize with the production Settings ID.
- Confirm first-run banner behavior on a clean install.
- Confirm
showBanner(force: true)reopens preferences. - Confirm accept, reject, and granular choices persist across app restart.
- Validate TC string behavior if IAB TCF is enabled for the property.
- Confirm downstream analytics or attribution SDKs receive the intended consent state.
5. Rollback
Section titled “5. Rollback”If rollback is required:
- Disable the CMP feature flag or revert the app build.
- Remove the
CybexoSDKpod. - Remove
CybexoCMPinitialization/reopen calls. - Rebuild and verify app startup and downstream SDK behavior.