Swiftpack.co - OneSignal/OneSignal-iOS-SDK as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by OneSignal.
OneSignal/OneSignal-iOS-SDK 3.11.2
OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your native iOS app with OneSignal. https://onesignal.com
⭐️ 423
🕓 1 week ago
.package(url: "https://github.com/OneSignal/OneSignal-iOS-SDK.git", from: "3.11.2")

OneSignal iOS SDK

CocoaPods Carthage compatible SwiftPM Compatible Build Status

OneSignal is a free email, sms, push notification, and in-app message service for mobile apps. This plugin makes it easy to integrate your native iOS app with OneSignal.

iOS Notification


See OneSignal's iOS Native SDK Setup Guide for documentation.


See OneSignal's iOS Native SDK API page for a list of all available methods.

Change Log

See this repository's release tags for a complete change log of every released version.


Please visit this repository's Github issue tracker for feature requests and bug reports related specifically to the SDK. For account issues and support please contact OneSignal support from the OneSignal.com dashboard.


  • Swift and Objective-C Projects
  • Supports iOS 9 to iOS 15


Stars: 423
Last commit: Yesterday
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

Release 3.11.2
1 week ago

Swizzling fixes

Rework to OneSignal's swizzling which addresses:

  • Fixes compatibility with Swift projects that use UIApplicationDelegateAdaptor (fixes #1045 & #1069)
  • Fixes app startup issues:
  • Some instances of the “Apns Delegate Never Fired” error related to compatibility with other SDKs that use the AppDelegate:
    • Multiple classes that implement UIApplicationDelegate
    • Class that inherits from a class that implements UIApplicationDelegate but never calls super.
  • other potential compatibility issues

PRs included in this release

https://github.com/OneSignal/OneSignal-iOS-SDK/pull/1103 https://github.com/OneSignal/OneSignal-iOS-SDK/pull/1102 https://github.com/OneSignal/OneSignal-iOS-SDK/pull/1101 https://github.com/OneSignal/OneSignal-iOS-SDK/pull/1100 https://github.com/OneSignal/OneSignal-iOS-SDK/pull/1099 https://github.com/OneSignal/OneSignal-iOS-SDK/pull/1094 https://github.com/OneSignal/OneSignal-iOS-SDK/pull/1097 https://github.com/OneSignal/OneSignal-iOS-SDK/pull/1091 https://github.com/OneSignal/OneSignal-iOS-SDK/pull/1090 https://github.com/OneSignal/OneSignal-iOS-SDK/pull/1089

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics