OneSignal Help & Documentation

Welcome to the OneSignal New IA developer hub. You'll find comprehensive guides and documentation to help you start working with OneSignal New IA as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    Discussions

Swift Package Manager Setup

1. Open your project in Xcode and navigate to the project's settings.

2. Select the Swift Packages tab and enter as the package repository if you are using Xcode 12+ or if you are on Xcode 11

3. Select your preferred versioning method for the OneSignal SDK (up to next major version is recommended.

4. Choose whether you want to use OneSignal as a Static Library or a Dynamic Library. (OneSignal-iOS-SDK only)

5. Click finish and ensure that the OneSignal SDK has been added to the appropriate target.

6. Create the OneSignal Notification Service Extension if you haven't already, and add the package to the Notification Service Extension.


Done! Continue onto step 4 of our iOS SDK setup guide.

Updated 6 months ago

Swift Package Manager Setup

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.