-
Notifications
You must be signed in to change notification settings - Fork 19
/
TuyaSmartDemo.podspec
92 lines (69 loc) · 2.68 KB
/
TuyaSmartDemo.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
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
Pod::Spec.new do |s|
s.name = 'TuyaSmartDemo'
s.version = '0.8.3'
s.summary = 'Tuya common base demo.'
s.description = 'Tuya common base demo support quick to test some feature.'
s.homepage = 'https://github.com/TuyaInc/tuyasmart_home_ios_sdk.git'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'huangdaxia' => '[email protected]' }
s.source = { :git => 'https://github.com/TuyaInc/tuyasmart_home_ios_sdk.git', :branch => 'master' }
s.ios.deployment_target = '8.0'
s.default_subspec = 'Base'
s.static_framework = true
s.subspec 'Base' do |ss|
ss.source_files = 'TuyaSmartDemo/Classes/Base/**/*.{h,m}', 'TuyaSmartDemo/Classes/Manager/**/*.{h,m}'
ss.resource_bundles = {
'TuyaSmartDemoBaseBundle' => 'TuyaSmartDemo/Classes/Base/Assets/**/*'
}
ss.prefix_header_contents = '#ifdef __OBJC__',
'#import "TYDemoTheme.h"',
'#import "TPDemoViewConstants.h"',
'#import "UIView+TPDemoAdditions.h"',
'#import "TPDemoUtils.h"',
'#endif'
ss.dependency 'MBProgressHUD'
ss.dependency 'Reachability'
ss.dependency 'YYModel'
ss.dependency 'TuyaSmartBaseKit'
end
s.subspec 'Login' do |ss|
ss.source_files = 'TuyaSmartDemo/Classes/Login/**/*.{h,m}'
ss.dependency 'TuyaSmartDemo/Base'
ss.dependency 'TuyaSmartBaseKit'
end
s.subspec 'SmartScene' do |ss|
ss.source_files = 'TuyaSmartDemo/Classes/SmartScene/**/*.{h,m}'
ss.resource_bundles = {
'TuyaSmartDemoSceneBundle' => 'TuyaSmartDemo/Classes/SmartScene/Assets/**/*'
}
ss.prefix_header_contents = '#ifdef __OBJC__',
'#import "TYDemoSmartSceneUtil.h"',
'#endif'
ss.dependency 'TuyaSmartDemo/Base'
ss.dependency 'SDWebImage'
ss.dependency 'TuyaSmartSceneKit'
end
s.subspec 'DeviceList' do |ss|
ss.source_files = 'TuyaSmartDemo/Classes/DeviceList/**/*.{h,m}'
ss.resource_bundles = {
'TuyaSmartDemoDeviceListBundle' => 'TuyaSmartDemo/Classes/DeviceList/Assets/**/*'
}
ss.prefix_header_contents = '#ifdef __OBJC__',
'#import "TYDemoDeviceListUtil.h"',
'#endif'
ss.dependency 'TuyaSmartDemo/Base'
ss.dependency 'SDWebImage'
ss.dependency 'TuyaSmartDeviceKit'
end
s.subspec 'AddDevice' do |ss|
ss.source_files = 'TuyaSmartDemo/Classes/AddDevice/**/*.{h,m}'
ss.dependency 'TuyaSmartDemo/Base'
ss.dependency 'SDWebImage'
ss.dependency 'Masonry'
ss.dependency 'TuyaSmartActivatorKit'
end
s.subspec 'UserInfo' do |ss|
ss.source_files = 'TuyaSmartDemo/Classes/UserInfo/**/*.{h,m}'
ss.dependency 'TuyaSmartDemo/Base'
end
end