Skip to content

Commit 548433e

Browse files
committed
update SDK install instructions to account for SPM changes
1 parent 55669f1 commit 548433e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

MIGRATION_GUIDE.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ As mentioned above, the iOS SDK is making the jump from `v3` to `v5`, in order t
4040

4141
## SDK Installation
4242

43-
### Import Changes
43+
### Code Import Changes
4444
**Objective-C**
4545

4646
```objc
@@ -59,7 +59,11 @@ As mentioned above, the iOS SDK is making the jump from `v3` to `v5`, in order t
5959
import OneSignalFramework
6060
```
6161

62-
Update the version of the OneSignal iOS SDK your application uses to `5.0.0`. Other than updating the import statement above, there are no additional changes needed to import the OneSignal SDK in your Xcode project. See [the existing installation instructions](https://documentation.onesignal.com/docs/ios-sdk-setup#step-3-import-the-onesignal-sdk-into-your-xcode-project).
62+
### Option 1. Swift Package Manager
63+
Update the version of the OneSignal-XCFramework your application uses to `5.0.0-alpha-01`. In addition, the Package Product name has been changed from `OneSignal` to `OneSignalFramework`. See [the existing installation instructions](https://documentation.onesignal.com/docs/swift-package-manager-setup).
64+
65+
### Option 2. CocoaPods
66+
Update the version of the OneSignalXCFramework your application uses to `5.0.0-alpha-01`. Other than updating the import statement above, there are no additional changes needed to import the OneSignal SDK in your Xcode project. See [the existing installation instructions](https://documentation.onesignal.com/docs/ios-sdk-setup#step-3-import-the-onesignal-sdk-into-your-xcode-project).
6367

6468
# API Changes
6569
## Namespaces

0 commit comments

Comments
 (0)