Skip to content

Commit

Permalink
Update sdk-ios.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
Atul-Butola authored Nov 6, 2024
1 parent 7bff08a commit c653f44
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions fern/docs/pages/plug-sdk/sdk-ios.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,14 @@ The DevRev SDK can be integrated using either Swift Package Manager (SPM) or Coc
We recommend integrating the DevRev SDK using Swift Package Manager.
</Callout>

### Swift Package Manager (Recommended)

To integrate the DevRev SDK into your project using Swift Package Manager (SPM):

1. Open your project in Xcode and navigate to the **Add Package Dependency**.
2. Enter the DevRev SDK URL under **Enter Package URL**:
- For HTTPS: https://github.com/devrev/devrev-sdk-ios
- For SSH: [email protected]:devrev/devrev-sdk-ios.git
3. In the **Build Phases** section of your app target, locate the **Link Binary With Libraries** phase and confirm that `DevRevSDK` is linked. If not, add it by clicking **+** and selecting `DevRevSDK` from the list.

Now you should be able to import and use the DevRev SDK in your project.

0 comments on commit c653f44

Please sign in to comment.