forked from ethand91/mediasoup-ios-client
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathvl_mediasoup_client_ios.podspec
34 lines (30 loc) · 1.36 KB
/
vl_mediasoup_client_ios.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
33
34
Pod::Spec.new do |spec|
spec.name = "vl_mediasoup_client_ios"
spec.version = "1.5.20"
spec.summary = "Mediasoup 3 iOS Client"
spec.description = <<-DESC
iOS implementation of libmediasoupclient
DESC
spec.homepage = "https://github.com/VLprojects/mediasoup-ios-client"
spec.license = "MIT"
spec.author = { "Alexander Gorbunov" => "[email protected]" }
spec.platform = :ios, "13.0"
spec.source = { :git => "https://github.com/VLprojects/mediasoup-ios-client.git", :tag => spec.version.to_s }
spec.module_name = "vl_mediasoup_client_ios"
# Disable arc
spec.requires_arc = false
# Set the xcode variables for the pod target
spec.pod_target_xcconfig = {
"USE_HEADERMAP" => "NO",
"ALWAYS_SEARCH_USER_PATHS" => "NO",
"CLANG_CXX_LANGUAGE_STANDARD" => "c++14",
"CLANG_CXX_LIBRARY" => "libc++",
"OTHER_CPLUSPLUSFLAGS" => '"-stdlib=libc++" "-Wall" "-Wextra" "-Wpedantic"',
"VALID_ARCHS" => "$(ARCHS_STANDARD_64_BIT)",
"OTHER_LD_FLAGS" => "-all_load",
}
# Include frameworks needed for WebRTC
spec.frameworks = "AVFoundation", "AudioToolbox", "CoreAudio", "CoreMedia", "CoreVideo"
spec.vendored_frameworks = "bin/vl_mediasoup_client_ios.xcframework", "bin/WebRTC.xcframework"
spec.module_map = "vl-mediasoup-client-ios/vl_mediasoup_client_ios.modulemap"
end