Skip to main content

Swift Package Manager

SpendOwl is distributed via Swift Package Manager, the recommended way to add dependencies in modern iOS projects.

Xcode UI

1

Open Package Dependencies

In Xcode, select your project in the navigator, then go to Package Dependencies tab.
2

Add Package

Click the + button to add a new package.
3

Enter URL

In the search field, enter:
4

Choose Version

Select Up to Next Major Version with 1.0.0 as the minimum.
5

Add to Target

Select your app target and click Add Package.

Package.swift

If you’re using a Package.swift file:
Then add SpendOwl to your target:

Requirements

Framework Dependencies

SpendOwl uses these Apple frameworks (automatically linked):
  • Foundation — Core Swift types and networking
  • StoreKit — Purchase tracking (StoreKit 2)
  • AdServices — Apple Search Ads attribution tokens
No third-party dependencies. SpendOwl is a pure Swift package.

Verify Installation

After adding the package, verify the installation by importing SpendOwl:
If the import succeeds without errors, you’re ready to configure the SDK.

Updating

To update SpendOwl:
  1. Select your project in Xcode
  2. Go to Package Dependencies
  3. Right-click on spendowl-ios
  4. Select Update Package
Enable automatic updates in Xcode to get the latest bug fixes and features.

Next Steps

Configuration

Configure the SDK with your API key