Skip to content

Commit 977aa9a

Browse files
authored
Revise SDK installation instructions for iOS
Updated installation instructions for the Azure Communication Calling SDK to recommend Swift Package Manager over CocoaPods, and removed outdated CocoaPods steps.
1 parent 7c8fc3e commit 977aa9a

1 file changed

Lines changed: 15 additions & 13 deletions

File tree

  • articles/communication-services/quickstarts/voice-video-calling/includes/video-calling

articles/communication-services/quickstarts/voice-video-calling/includes/video-calling/video-calling-ios.md

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,21 @@ In Xcode, create a new iOS project and select the Single View App template. This
3434

3535
:::image type="content" source="../../media/ios/xcode-new-ios-project.png" alt-text="Screenshot showing the New Project window within Xcode.":::
3636

37-
### Installing CocoaPods
37+
38+
### Install Calling SDK using Swift Package Manager [Recommended]
39+
40+
Swift Package Manager is now the recommended installation method for the Azure Communication Calling SDK. CocoaPods support is being deprecated and will be removed in future versions.
41+
If you prefer to use Swift Package Manager, you can add the Azure Communication Calling SDK directly to your Xcode project.
42+
43+
Installation Steps
44+
1. In Xcode, go to File > Add Package Dependencies...
45+
2. Enter the following repository URL: [https://github.com/Azure/SwiftPM-AzureCommunicationCalling](https://github.com/Azure/SwiftPM-AzureCommunicationCalling)
46+
3. For Dependency Rule, select Exact Version and enter: 2.18.1
47+
4. Click Add Package
48+
5. Select the AzureCommunicationCalling product and add it to your target
49+
50+
51+
### Installing Calling SDK using CocoaPods [Alternative]
3852

3953
Use this guide to [install CocoaPods](https://guides.cocoapods.org/using/getting-started.html) on your Mac.
4054

@@ -57,18 +71,6 @@ end
5771

5872
4. Open the `.xcworkspace` with Xcode.
5973

60-
### Using Swift Package Manager [Recommended]
61-
62-
Swift Package Manager is now the recommended installation method for the Azure Communication Calling SDK. CocoaPods support is being deprecated and will be removed in future versions.
63-
If you prefer to use Swift Package Manager, you can add the Azure Communication Calling SDK directly to your Xcode project.
64-
65-
Installation Steps
66-
1. In Xcode, go to File > Add Package Dependencies...
67-
2. Enter the following repository URL: [https://github.com/Azure/SwiftPM-AzureCommunicationCalling](https://github.com/Azure/SwiftPM-AzureCommunicationCalling)
68-
3. For Dependency Rule, select Exact Version and enter: 2.17.0-beta.3
69-
4. Click Add Package
70-
5. Select the AzureCommunicationCalling product and add it to your target
71-
7274

7375
### Using XCFramework directly
7476

0 commit comments

Comments
 (0)