forked from ethand91/mediasoup-ios-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mediasoup_ios_client.podspec
35 lines (29 loc) · 1.33 KB
/
mediasoup_ios_client.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
35
Pod::Spec.new do |spec|
spec.name = "mediasoup_ios_client"
spec.version = "1.5.4"
spec.summary = "Mediasoup 3 iOS Client"
spec.description = <<-DESC
iOS implementation of libmediasoupclient
DESC
spec.homepage = "https://github.com/ethand91/mediasoup-ios-client"
spec.license = "MIT"
spec.author = { "ethand91" => "[email protected]" }
spec.source = { :git => "https://github.com/ethand91/mediasoup-ios-client.git", :submodules => true, :tag => "1.5.4" }
spec.module_name = "mediasoup"
# 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 = "build/mediasoup_client_ios.framework", "mediasoup-client-ios/dependencies/webrtc/src/out_ios_libs/WebRTC.framework"
spec.module_map = "mediasoup-client-ios/mediasoup_ios_client.modulemap"
end