-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathVideoOS.podspec
More file actions
77 lines (61 loc) · 3.55 KB
/
VideoOS.podspec
File metadata and controls
77 lines (61 loc) · 3.55 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# If you've made changes to the SDK (such as file paths), consider using `pod lib lint` to lint locally and then using the :path option in your Podfile
Pod::Spec.new do |s|
s.name = "VideoOS"
s.version = "3.1.0"
s.summary = "Official VideoPls SDK for iOS to access VideoPls Platform with features like video os, and live os"
s.description = <<-DESC
The VideoPls SDK for iOS enables you to use VideoPls's Platform such as:
*video os
*live os
DESC
s.homepage = "http://videojj.com/videoos-open"
s.license = { :type => "GPL-3.0", :file => "LICENSE" }
s.author = 'VideoPls'
s.platform = :ios, "8.0"
s.source = { :git => "https://github.com/VideoOS/VideoOS-iOS-SDK.git",
:tag => s.version.to_s
}
s.libraries = 'z', 'sqlite3'
s.weak_frameworks = 'UIKit', 'Foundation','AVFoundation', 'CoreTelephony', 'SystemConfiguration', 'ImageIO', 'MobileCoreServices', 'WebKit', 'Photos', 'CoreData', 'WebKit','CoreMedia','Accelerate'
s.requires_arc = true
s.dependency 'VPLuaViewSDK'
s.resources = "Resources/VideoPlsResources.bundle"
s.default_subspec = 'Interface'
s.subspec 'Platform' do |spec|
spec.weak_frameworks = 'AVFoundation', 'Security', 'AudioToolbox'
spec.source_files = "VideoPlsUtilsPlatformSDK/VideoPlsUtilsPlatformSDK/**/*.{h,m,c}"
spec.exclude_files = [
"VideoPlsUtilsPlatformSDK/VideoPlsUtilsPlatformSDK/VideoPlsUtilsPlatformSDKTests/**/*.*",
"VideoPlsUtilsPlatformSDK/VideoPlsUtilsPlatformSDK/VideoPlsUtilsPlatformSDK/Subspec/ACRCloud/*.*"
]
spec.public_header_files = "VideoPlsUtilsPlatformSDK/VideoPlsUtilsPlatformSDK/**/*.{h}"
spec.header_dir = "VideoPlsUtilsPlatformSDK"
spec.dependency 'AFNetworking'
spec.dependency 'SDWebImage' #SDWebImage建议使用4.2.2,最新版本的SDWebImage会导致相同地址的gif在第二次加载时无法播放
spec.dependency 'SVGAPlayer', '2.1.4'
spec.dependency 'MQTTClient'
spec.xcconfig = {'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1'}
end
s.subspec 'LuaManager' do |spec|
spec.source_files = "VideoPlsLuaViewManagerSDK/VideoPlsLuaViewManagerSDK/**/*.{h,m}"
spec.public_header_files = "VideoPlsLuaViewManagerSDK/VideoPlsLuaViewManagerSDK/**/*.{h}"
spec.header_dir = "VideoPlsLuaViewManagerSDK"
spec.dependency 'VideoOS/Platform'
end
s.subspec 'Interface' do |spec|
spec.source_files = "VideoPlsInterfaceControllerSDK/VideoPlsInterfaceControllerSDK/**/*.{h,m}"
spec.public_header_files = "VideoPlsInterfaceControllerSDK/VideoPlsInterfaceControllerSDK/**/*.{h}"
spec.exclude_files = "VideoPlsInterfaceControllerSDK/VideoPlsInterfaceControllerSDK/VideoPlsInterfaceControllerSDK/{VPIPubWebView,VPIStoreAPIConfig}.{h,m}"
spec.header_dir = "VideoPlsInterfaceControllerSDK"
spec.dependency 'VideoOS/LuaManager'
end
s.subspec 'ACRCloud' do |spec|
spec.libraries = 'c++'
spec.weak_frameworks = 'AVFoundation', 'Security', 'AudioToolbox'
spec.vendored_libraries = "VideoPlsUtilsPlatformSDK/VideoPlsUtilsPlatformSDK/VideoPlsUtilsPlatformSDK/Subspec/ACRCloud/libACRCloud_IOS_SDK.a"
spec.source_files = "VideoPlsUtilsPlatformSDK/VideoPlsUtilsPlatformSDK/VideoPlsUtilsPlatformSDK/Subspec/ACRCloud/*.{h,m,a}"
spec.public_header_files = "VideoPlsUtilsPlatformSDK/VideoPlsUtilsPlatformSDK/VideoPlsUtilsPlatformSDK/Subspec/ACRCloud/*.{h}"
spec.header_dir = "ACRCloud"
spec.dependency 'VideoOS/Platform'
end
end