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 aPackage.swift file:
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: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