Skip to content

Commit b0af084

Browse files
authored
Merge pull request #2 from sendbird/release/1.4.0
Release 1.4.0
2 parents 9e5be9b + 150181c commit b0af084

File tree

96 files changed

+51
-4654
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+51
-4654
lines changed

.gitattributes

Lines changed: 0 additions & 1 deletion
This file was deleted.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.swiftpm

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change Log
22

3+
### 1.4.0 (Oct 1, 2021)
4+
* Updated WebRTC version to M93.
5+
* Added support for Swift Package Manager.
6+
37
### 1.3.0 (Apr 21, 2021)
48
* Updated WebRTC version to M89.
59
* Made `RTCDefaultShader` public.

Package.swift

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// swift-tools-version:5.3
2+
import PackageDescription
3+
4+
let package = Package(
5+
name: "WebRTC",
6+
platforms: [.iOS(.v9)],
7+
products: [
8+
.library(
9+
name: "WebRTC",
10+
targets: ["WebRTC"]),
11+
],
12+
dependencies: [
13+
],
14+
targets: [
15+
.binaryTarget(
16+
name: "WebRTC",
17+
url: "https://github.com/sendbird/sendbird-webrtc-ios/releases/download/1.4.0/WebRTC.xcframework.zip",
18+
checksum: "8fad0f8a612e59204d2ab4e29e611213aa31522b5253dedfe9405ddcdc00437c"
19+
)
20+
]
21+
)

README.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
![Platform](https://img.shields.io/badge/Platform-iOS-orange.svg)
44
![CocoaPods compatible](https://img.shields.io/badge/CocoaPods-compatible-green.svg)
55
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
6+
![Swift Package Manager compatible](https://img.shields.io/badge/Swift%20Package%20Manager-compatible-orange.svg)
67
[![BSD License](https://img.shields.io/badge/License-BSD-brightgreen.svg)](https://github.com/sendbird/sendbird-webrtc-ios/blob/master/LICENSE)
78

89
## Introduction
@@ -15,9 +16,15 @@ iOS 9.0 or higher
1516

1617
## Installation
1718

18-
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)
1920

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)
2128

2229
Add below into your Podfile.
2330

@@ -38,9 +45,10 @@ pod install
3845

3946
Now you can see installed WebRTC framework by inspecting `YOUR_PROJECT.xcworkspace`.
4047

41-
### Install WebRTC Framework from Carthage
48+
### Install WebRTC Framework from [Carthage](https://github.com/Carthage/Carthage)
4249

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
4651
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`.

SendBirdWebRTC.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"1.0.1": "https://github.com/sendbird/sendbird-webrtc-ios/releases/download/1.0.1/WebRTC.framework.zip",
3+
"1.1.0": "https://github.com/sendbird/sendbird-webrtc-ios/releases/download/1.1.0/WebRTC.framework.zip",
4+
"1.1.1": "https://github.com/sendbird/sendbird-webrtc-ios/releases/download/1.1.1/WebRTC.framework.zip",
5+
"1.2.0": "https://github.com/sendbird/sendbird-webrtc-ios/releases/download/1.2.0/WebRTC.framework.zip",
6+
"1.3.0": "https://github.com/sendbird/sendbird-webrtc-ios/releases/download/1.3.0/WebRTC.framework.zip",
7+
"1.4.0": "https://github.com/sendbird/sendbird-webrtc-ios/releases/download/1.4.0/WebRTC.xcframework.zip"
8+
}

SendBirdWebRTC.podspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
Pod::Spec.new do |s|
22
s.name = "SendBirdWebRTC"
3-
s.version = "1.3.0"
3+
s.version = "1.4.0"
44
s.summary = "WebRTC Framework"
55
s.description = "WebRTC Framework for SendBird Video Chat"
66
s.homepage = "https://sendbird.com"
77
s.license = { :type => 'BSD', :file => 'LICENSE' }
88
s.authors = { "Jed Gyeong" => "jed.gyeong@sendbird.com", "Young Hwang" => "young.hwang@sendbird.com", "Minhyuk Kim" => "minhyuk.kim@sendbird.com", "Jaesung Lee" => "jaesung.lee@sendbird.com" }
9-
s.source = { :git => "https://github.com/sendbird/sendbird-webrtc-ios.git", :tag => "#{s.version}" }
109
s.requires_arc = true
1110
s.platform = :ios, "9.0"
1211
s.documentation_url = 'https://docs.sendbird.com/'
13-
s.ios.vendored_frameworks = 'WebRTC.framework'
12+
s.source = { :http => "https://github.com/sendbird/sendbird-webrtc-ios/releases/download/1.4.0/WebRTC.xcframework.zip" }
13+
s.ios.vendored_frameworks = 'WebRTC.xcframework'
1414
end

WebRTC.framework/Headers/RTCAudioSession.h

Lines changed: 0 additions & 264 deletions
This file was deleted.

0 commit comments

Comments
 (0)