Skip to content
NuxieNuxie
Esc
↑↓navigate↵open⌘Jpreview
Open Nuxie
On this page

Installation

Install the Nuxie Swift package with Xcode or Package.swift.

Add the Nuxie Swift package to your app target. Requires Xcode 27.1 or later and an iOS 15 or later deployment target.

Add via Xcode

Add the package repository

In Xcode, choose File → Add Package Dependencies and enter:

https://github.com/nuxieai/nuxie-ios

Choose the version

Set Dependency Rule to Up to Next Major Version, starting at 1.0.0. Xcode records the resolved revision in Package.resolved.

Add Nuxie to your target

Select the Nuxie product for your app target.

The package includes its native runtime dependency.

Add via Package.swift

Add the released package to dependencies:

dependencies: [
    .package(url: "https://github.com/nuxieai/nuxie-ios", from: "1.0.0")
]

Add the library product to the app target:

.target(
    name: "YourApp",
    dependencies: [
        .product(name: "Nuxie", package: "nuxie-ios"),
    ]
)

Minimum deployment target

Set the deployment target in Xcode or Package.swift:

platforms: [
    .iOS(.v15)
]

Verify the installation

Build the app with this import:

import Nuxie

// Verify the SDK is importable
print("Nuxie SDK version: \(NuxieSDK.shared.version)")

Continue with Configuration. If your app uses RevenueCat or Superwall, Purchases shows how to add the provider adapter.

Last updated on

Was this page helpful?