-
Notifications
You must be signed in to change notification settings - Fork 127
/
Copy pathLiveKitClient.podspec
32 lines (25 loc) · 1.15 KB
/
LiveKitClient.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Pod::Spec.new do |spec|
spec.name = "LiveKitClient"
spec.version = "2.5.1"
spec.summary = "LiveKit Swift Client SDK. Easily build live audio or video experiences into your mobile app, game or website."
spec.homepage = "https://github.com/livekit/client-sdk-swift"
spec.license = {:type => "Apache 2.0", :file => "LICENSE"}
spec.author = "LiveKit"
spec.ios.deployment_target = "13.0"
spec.osx.deployment_target = "10.15"
spec.swift_versions = ["5.7"]
spec.source = {:git => "https://github.com/livekit/client-sdk-swift.git", :tag => spec.version.to_s}
spec.source_files = "Sources/**/*"
spec.dependency("LiveKitWebRTC", "= 125.6422.28")
spec.dependency("SwiftProtobuf")
spec.dependency("Logging", "= 1.5.4")
spec.dependency("DequeModule", "= 1.1.4")
spec.dependency("OrderedCollections", " = 1.1.4")
spec.resource_bundles = {"Privacy" => ["Sources/LiveKit/PrivacyInfo.xcprivacy"]}
xcode_output = `xcodebuild -version`.strip
major_version = xcode_output =~ /Xcode\s+(\d+)/ ? $1.to_i : 15
spec.pod_target_xcconfig = {
"OTHER_SWIFT_FLAGS" => major_version >=15 ?
"-enable-experimental-feature AccessLevelOnImport" : ""
}
end