Swift Package Manager
SpendOwl is distributed via Swift Package Manager, the recommended way to add dependencies in modern iOS projects.Xcode UI
Open Package Dependencies
In Xcode, select your project in the navigator, then go to Package Dependencies tab.
Package.swift
If you’re using aPackage.swift file:
Requirements
| Requirement | Minimum Version |
|---|---|
| iOS | 15.0 |
| macOS | 12.0 |
| Xcode | 15.0 |
| Swift | 5.9 |
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:Updating
To update SpendOwl:- Select your project in Xcode
- Go to Package Dependencies
- Right-click on
spendowl-ios - Select Update Package
Next Steps
Configuration
Configure the SDK with your API key