Skip to content

Commit

Permalink
feature/CP-8793-ios-sdk-swift-package-manager-docs
Browse files Browse the repository at this point in the history
Update the iOS documentation for Swift Package Manager.
  • Loading branch information
cpandya25 committed Nov 4, 2024
1 parent 9378328 commit 808d9b9
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions docs/sdks/ios/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,26 @@ pod 'CleverPush', '~> 1.31.17'

1. **Select your Project** > **Package Dependencies** > **+ button**.

2. **Enter Package URL**:
![](https://raw.githubusercontent.com/cleverpush/cleverpush-developer-docs/refs/heads/master/docs/sdks/static/img/iOS_Swift_Package_Manager_Step1.png)

2. **Enter Package URL & Click Add Package**:
`https://github.com/cleverpush/cleverpush-ios-sdk.git`
Make sure **Dependency Rule** is set to **Up to Next Major Version** from **1.31.17**.

![](https://raw.githubusercontent.com/cleverpush/cleverpush-developer-docs/refs/heads/master/docs/sdks/static/img/iOS_Swift_Package_Manager_Step2.png)

3. **Click Add Package**.

4. **Click Add Package**.
![](https://raw.githubusercontent.com/cleverpush/cleverpush-developer-docs/refs/heads/master/docs/sdks/static/img/iOS_Swift_Package_Manager_Step3.png)

5. **Select your Application Target** > **General** > **Frameworks, Libraries, and Embedded Content**.
4. **Select your Application Target** > **General** > **Frameworks, Libraries, and Embedded Content**.
Check to ensure the required **CleverPushFramework** and any optionally selected libraries have been added.

6. If you have a **Notification Service Extension** or **Content Extension**, repeat the above steps for those targets to ensure the **CleverPushFramework** is included.
![](https://raw.githubusercontent.com/cleverpush/cleverpush-developer-docs/refs/heads/master/docs/sdks/static/img/iOS_Swift_Package_Manager_Step4.png)

5. If you have a **Notification Service Extension** or **Content Extension**, repeat the above steps for those targets to ensure the **CleverPushFramework** is included.

![](https://raw.githubusercontent.com/cleverpush/cleverpush-developer-docs/refs/heads/master/docs/sdks/static/img/iOS_Swift_Package_Manager_Step5.png)

**Carthage Setup**:

Expand Down
Binary file modified docs/sdks/static/img/iOS_Swift_Package_Manager_Step3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/sdks/static/img/iOS_Swift_Package_Manager_Step4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/sdks/static/img/iOS_Swift_Package_Manager_Step5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 808d9b9

Please sign in to comment.