---
title: "OneSignalXCFramework 5.0.0 Breaking Changes on CocoaPods"
description: "What each OneSignalXCFramework release removed, renamed or changed: 20 breaking changes in 6 versions on CocoaPods, each with its source."
canonical_url: https://since.dev/packages/cocoapods/OneSignalXCFramework
last_updated: 2026-12-04
---

# OneSignalXCFramework breaking changes

OneSignalXCFramework 5.0.0 (August 10, 2023) is its newest release with breaking changes, 9 of them. The first: Removed OneSignal.setAppId. Every breaking API change we have recorded in OneSignalXCFramework on CocoaPods: 20 breaking changes in 6 versions. Below, its 6 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `5.8.1`, released November 7, 2026. [Source repository](https://github.com/OneSignal/OneSignal-iOS-SDK)

Its 5.0.0 release requires Ruby 2.7.5 or later. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [3.1.1](#v-3-1-1) to [5.0.0](#v-5-0-0): 16 breaking changes in 3 versions.
- From [3.0.0](#v-3-0-0) to [5.0.0](#v-5-0-0): 17 breaking changes in 4 versions.

## OneSignalXCFramework 5.0.0 breaking changes

OneSignalXCFramework 5.0.0, released August 10, 2023: 9 breaking changes.

- **Removed** `OneSignal.setAppId`  

The app ID is now provided to initialize and cannot be changed afterward. Replace setAppId calls with OneSignal.initialize. [github.com](https://github.com/OneSignal/OneSignal-iOS-SDK/blob/major%5Frelease%5F5.0.0/MIGRATION%5FGUIDE.md)
- **Removed** `OneSignal.setLaunchURLsInApp`  

The method and the in-app launch URL functionality are gone. Remove any calls to setLaunchURLsInApp. [github.com](https://github.com/OneSignal/OneSignal-iOS-SDK/blob/major%5Frelease%5F5.0.0/MIGRATION%5FGUIDE.md)
- **Renamed**  

Update the Swift Package Manager product and the import statements to OneSignalFramework. [github.com](https://github.com/OneSignal/OneSignal-iOS-SDK/blob/major%5Frelease%5F5.0.0/MIGRATION%5FGUIDE.md)
- **Renamed** `OneSignal.initWithLaunchOptions`  

Initialization now uses initialize with the app ID and launch options. Replace the old initWithLaunchOptions call. [github.com](https://github.com/OneSignal/OneSignal-iOS-SDK/blob/major%5Frelease%5F5.0.0/MIGRATION%5FGUIDE.md)
- **Behavior changed** `OneSignal.login`  

The device's push subscription is always transferred to the newly logged-in user, so the previous user no longer owns it. [github.com](https://github.com/OneSignal/OneSignal-iOS-SDK/blob/major%5Frelease%5F5.0.0/MIGRATION%5FGUIDE.md)
- **Configuration changed**  

Apps that want in-app messaging must explicitly add the OneSignalInAppMessages product or subspec and depend on WebKit. Otherwise in-app messaging is unavailable. [github.com](https://github.com/OneSignal/OneSignal-iOS-SDK/blob/major%5Frelease%5F5.0.0/MIGRATION%5FGUIDE.md)
- **Configuration changed**  

Projects using CocoaPods must upgrade to CocoaPods 1.11.3+ and Ruby 2.7.5+. [github.com](https://github.com/OneSignal/OneSignal-iOS-SDK/blob/major%5Frelease%5F5.0.0/MIGRATION%5FGUIDE.md)
- **Configuration changed**  

The SDK needs a minimum deployment target of iOS 11 and Xcode 14. Update project settings to meet these requirements. [github.com](https://github.com/OneSignal/OneSignal-iOS-SDK/blob/major%5Frelease%5F5.0.0/MIGRATION%5FGUIDE.md)
- **Configuration changed**  

Apps that want location must explicitly add the OneSignalLocation product or subspec and depend on CoreLocation. Otherwise location is unavailable. [github.com](https://github.com/OneSignal/OneSignal-iOS-SDK/blob/major%5Frelease%5F5.0.0/MIGRATION%5FGUIDE.md)

## OneSignalXCFramework 5.0.0-beta-05 breaking changes

OneSignalXCFramework 5.0.0-beta-05, released August 10, 2023: 1 breaking change.

- **Removed**  

The SDK no longer supports launch URLs in the app. Remove any code that relies on them. [github.com](https://github.com/OneSignal/OneSignal-iOS-SDK/releases/tag/5.0.0-beta-05)

## OneSignalXCFramework 5.0.0-beta-03 breaking changes

OneSignalXCFramework 5.0.0-beta-03, released August 10, 2023: 6 breaking changes.

- **Renamed** `IAM Click Listener`  

The in-app message click listener was renamed in the API update. Update code to the new name in the migration guide. [github.com](https://github.com/OneSignal/OneSignal-iOS-SDK/releases/tag/5.0.0-beta-03)
- **Renamed** `IAM Lifecycle Listener`  

The in-app message lifecycle listener was renamed in the API update. Update code to the new name in the migration guide. [github.com](https://github.com/OneSignal/OneSignal-iOS-SDK/releases/tag/5.0.0-beta-03)
- **Renamed** `Notification Click Listener`  

The notification click listener was renamed in the API update. Update code to the new name in the migration guide. [github.com](https://github.com/OneSignal/OneSignal-iOS-SDK/releases/tag/5.0.0-beta-03)
- **Renamed** `Notification Foreground Listener`  

The notification foreground listener was renamed in the API update. Update code to the new name in the migration guide. [github.com](https://github.com/OneSignal/OneSignal-iOS-SDK/releases/tag/5.0.0-beta-03)
- **Renamed** `Notification Permission Observer`  

The notification permission observer was renamed in the API update. Update code that uses the old name to the new name in the migration guide. [github.com](https://github.com/OneSignal/OneSignal-iOS-SDK/releases/tag/5.0.0-beta-03)
- **Renamed** `Push Subscription Observer`  

The push subscription observer was renamed in the API update. Update code to the new name in the migration guide. [github.com](https://github.com/OneSignal/OneSignal-iOS-SDK/releases/tag/5.0.0-beta-03)

## OneSignalXCFramework 3.1.1 breaking changes

OneSignalXCFramework 3.1.1, released January 26, 2021: 1 breaking change.

- **Behavior changed**  

The Notification Opened Handler no longer runs for silent notifications received while the app is foregrounded; code relying on it for those must change. [github.com](https://github.com/OneSignal/OneSignal-iOS-SDK/releases/tag/3.1.1)

## OneSignalXCFramework 3.0.0 breaking changes

OneSignalXCFramework 3.0.0, released January 26, 2021: 1 breaking change.

- **Behavior changed**  

This release contains breaking API changes; follow the linked migration guide before upgrading. [github.com](https://github.com/OneSignal/OneSignal-iOS-SDK/releases/tag/3.0.0)

## OneSignalXCFramework 3.0.0-beta4 breaking changes

OneSignalXCFramework 3.0.0-beta4, released January 26, 2021: 2 breaking changes.

- **Removed** `setAppSettings`  

setAppSettings was removed in the 3.0.0 beta line, so code calling it must be updated or deleted. [github.com](https://github.com/OneSignal/OneSignal-iOS-SDK/releases/tag/3.0.0-beta4)
- **Renamed** `OSSession`  

OSSession was renamed in the 3.0.0 beta line; the document does not name the new name, so check the migration guide. [github.com](https://github.com/OneSignal/OneSignal-iOS-SDK/releases/tag/3.0.0-beta4)

## Related packages

- [OneSignal](https://since.dev/packages/cocoapods/OneSignal.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
