You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The size of the framework is huge. In order to install on your project, you can use CocoaPods or Carthage. If you want to use CocoaPods, then you have to install git-lfs first. Please refer to the [git-lfs document](https://git-lfs.github.com/).
19
+
### Install WebRTC Framework from [Swift Package Manager](https://developer.apple.com/documentation/swift_packages)
19
20
20
-
### Install WebRTC Framework from CocoaPods
21
+
1. Go to your Swift Package Manager's File tab and select Swift Packages. Then choose `Add package dependency`
22
+
23
+
2. Add SendBirdWebRTC into your Package Repository with the following URL: `https://github.com/sendbird/sendbird-webrtc-ios`
24
+
25
+
3. To add the package, select appropriate dependency rule and click `Add Package`.
26
+
27
+
### Install WebRTC Framework from [CocoaPods](https://github.com/CocoaPods/CocoaPods)
21
28
22
29
Add below into your Podfile.
23
30
@@ -38,9 +45,10 @@ pod install
38
45
39
46
Now you can see installed WebRTC framework by inspecting `YOUR_PROJECT.xcworkspace`.
40
47
41
-
### Install WebRTC Framework from Carthage
48
+
### Install WebRTC Framework from [Carthage](https://github.com/Carthage/Carthage)
42
49
43
-
1. Add `github "sendbird/sendbird-webrtc-ios.git"` to your Cartfile.
44
-
2. Run `carthage update`.
45
-
3. Go to your Xcode project's `"General"` settings. Open `<YOUR_XCODE_PROJECT_DIRECTORY>/Carthage/Build/iOS` in Finder and drag `WebRTC.framework` to the `"Embedded Binaries"` section in Xcode. Make sure `Copy items if needed` is selected and click `Finish`.
50
+
> Requires Carthage version 0.38 or higher
46
51
52
+
1. Add `binary "https://raw.githubusercontent.com/sendbird/sendbird-webrtc-ios/latest/SendBirdWebRTC.json"` to your Cartfile.
53
+
2. Run `carthage update --use-xcframeworks`.
54
+
3. Go to your Xcode project's `"General"` settings. Open `<YOUR_XCODE_PROJECT_DIRECTORY>/Carthage/Build/iOS` in Finder and drag `WebRTC.framework` to the `"Embedded Binaries"` section in Xcode. Make sure `Copy items if needed` is selected and click `Finish`.
0 commit comments