Skip to content
Get API access
The mobile SDKs are available on request. Email support@grona.ai to get access.

Install the SDK

This page adds the Grona iOS SDK to your app with Swift Package Manager. Do it once for the app target that shows Grona content. When the package resolves, go on to initialise the SDK.

Requirement Value Notes
Minimum iOS version iOS 16 Your app’s deployment target must be iOS 16 or later. A target with a lower deployment target cannot link the package.
Swift 5.10 or later Xcode 15.3 or later. Your app can use the Swift 5 or Swift 6 language mode. Apple sets its own minimum Xcode version for App Store uploads.
UI frameworks UIKit and SwiftUI GronaSlotView is a UIView. GronaSlot and the .gronaDecision modifier are for SwiftUI.
Dependencies None The SDK uses only Apple frameworks. It brings no third-party code into your app.
Info.plist keys None The SDK needs no usage descriptions and never asks for App Tracking Transparency.
App extensions Not supported Call Grona.start from your app only. In an app extension it does nothing and the SDK stays inactive.

The package is available on request: email support@grona.ai, and Grona gives you the package location and the exact version to pin. It has two products:

Product Add it to Purpose
Grona Your app target The SDK.
GronaDebug Your app target, used only in debug builds A debug view for your own builds. See Test and debug.

Before 1.0, a minor version can contain breaking changes. Pin the exact version Grona gives you, and read the changelog before you move to a newer one. The samples on this page use 0.1.0.

  1. In Xcode, choose File > Add Package Dependencies.

  2. Paste the package location Grona gave you into the search field.

  3. Set Dependency Rule to Exact Version and enter the version Grona gave you. Click Add Package.

  4. Add the Grona product to your app target. Add GronaDebug to the same target if you want the debug view. Click Add Package.

  5. Build the app once. Xcode records the resolved revision in Package.resolved. Commit that file.

The SDK ships as a Swift Package Manager package. There is no CocoaPods pod or Carthage build.

  • CocoaPods. Grona does not publish a pod. CocoaPods’ central spec repository is scheduled to stop accepting new pods in December 2026.
  • Signatures. Grona is not on Apple’s list of commonly used third-party SDKs, so Apple’s signature requirement does not apply. Pin the exact revision in Package.resolved so every build uses the version you tested.
  • No permissions or Info.plist keys. The SDK never shows a system prompt.
  • A privacy manifest. The package includes a PrivacyInfo.xcprivacy file, which Xcode includes when it generates your app’s privacy report. See App Store privacy and privacy manifest.
  • Network requests to known hosts only. The SDK contacts the addresses in your options and the image hosts you register with Grona, over https only. See Domains and network calls.
  • One folder of files. The SDK keeps its state in its own folder inside your app’s Application Support directory, excluded from backups. See Consent for what it stores.

The SDK never reads the advertising identifier (IDFA), the identifier for vendor (IDFV) or any other device identifier.