Enable Logging
Turn on debug logging to see SpendOwl activity:Using Build Flags
Enable logging only in debug builds:Log Levels
For more control, uselogLevel:
Example Output
Console.app Integration
SpendOwl logs are written to the system log usingos_log. To view them:
1
Open Console.app
Find Console in
/Applications/Utilities/Console.app2
Select Your Device
Choose your device or simulator from the sidebar
3
Filter by SpendOwl
In the search bar, type
SpendOwl to filter logsCommon Issues
SDK Not Configured
configure() before using other SDK methods:
Invalid API Key
Network Errors
- Check internet connectivity
- Increase timeout:
SpendOwlConfiguration(apiKey: "...", timeoutInterval: 30) - The SDK retries automatically, but persistent failures indicate network issues
Attribution Unavailable
- iOS version below 14.3
- AdServices framework not available
- Running in simulator (attribution may return mock data)
Attribution Denied
- User or MDM restricted ad tracking
- Limited Ad Tracking enabled in Settings
Verifying Integration
Use this checklist to verify SpendOwl is working:1
Check Configuration
2
Check SDK Version
3
Enable Logging
4
Trigger Attribution
5
Check Dashboard
Visit your SpendOwl Dashboard to see if events appear
Debug Mode in Dashboard
The SpendOwl dashboard shows debug data when using a test API key:- Test events are labeled separately
- Don’t affect production ROAS
- Useful for verifying integration
Reporting Issues
If you encounter issues not covered here:- Enable
.debuglogging - Reproduce the issue
- Copy the logs
- Open an issue on GitHub
- iOS version
- SDK version
- Relevant logs
- Steps to reproduce
Next Steps
Troubleshooting
Common issues and solutions
API Reference
Full SDK API documentation