-
Notifications
You must be signed in to change notification settings - Fork 67
/
Copy pathLeanCloudObjc.podspec
115 lines (103 loc) · 4.53 KB
/
LeanCloudObjc.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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
Pod::Spec.new do |s|
s.name = 'LeanCloudObjc'
s.version = '14.0.0'
s.homepage = 'https://leancloud.cn/'
s.summary = 'LeanCloud Objective-C SDK'
s.authors = 'LeanCloud'
s.license = {
:type => 'Apache License, Version 2.0',
:file => 'LICENSE'
}
s.source = {
:git => "https://github.com/leancloud/objc-sdk.git",
:tag => "#{s.version}"
}
s.ios.deployment_target = '12.0'
s.osx.deployment_target = '11.0'
s.watchos.deployment_target = '6.0'
s.tvos.deployment_target = '12.0'
s.default_subspec = 'Realtime'
s.subspec 'Foundation' do |ss|
ss.source_files =
'AVOS/LeanCloudObjc/Foundation.h',
'AVOS/Sources/Vendor/LCNetworking/*.{h,m}',
'AVOS/Sources/Foundation/**/*.{h,m}'
ss.public_header_files =
'AVOS/LeanCloudObjc/Foundation.h',
'AVOS/Sources/Vendor/LCNetworking/*.h',
'AVOS/Sources/Foundation/UserAgent.h',
'AVOS/Sources/Foundation/Request/LCPaasClient.h',
'AVOS/Sources/Foundation/Captcha/LCCaptcha.h',
'AVOS/Sources/Foundation/Utils/LCDynamicObject.h',
'AVOS/Sources/Foundation/SMS/LCSMS.h',
'AVOS/Sources/Foundation/Leaderboard/LCLeaderboard.h',
'AVOS/Sources/Foundation/ACL/LCACL.h',
'AVOS/Sources/Foundation/ACL/LCRole.h',
'AVOS/Sources/Foundation/Object/LCObjectOption.h',
'AVOS/Sources/Foundation/LCApplication.h',
'AVOS/Sources/Foundation/CloudCode/LCCloud.h',
'AVOS/Sources/Foundation/File/LCFile.h',
'AVOS/Sources/Foundation/Geo/LCGeoPoint.h',
'AVOS/Sources/Foundation/Object/LCObject+Subclass.h',
'AVOS/Sources/Foundation/Object/LCObject.h',
'AVOS/Sources/Foundation/Object/LCRelation.h',
'AVOS/Sources/Foundation/Object/LCSubclassing.h',
'AVOS/Sources/Foundation/Push/LCInstallation.h',
'AVOS/Sources/Foundation/File/LCFileQuery.h',
'AVOS/Sources/Foundation/Push/LCPush.h',
'AVOS/Sources/Foundation/Query/LCCloudQueryResult.h',
'AVOS/Sources/Foundation/Query/LCQuery.h',
'AVOS/Sources/Foundation/Search/LCSearchQuery.h',
'AVOS/Sources/Foundation/Search/LCSearchSortBuilder.h',
'AVOS/Sources/Foundation/Status/LCStatus.h',
'AVOS/Sources/Foundation/User/LCUser.h',
'AVOS/Sources/Foundation/User/LCFriendship.h',
'AVOS/Sources/Foundation/Utils/LCLogger.h',
'AVOS/Sources/Foundation/Utils/LCErrorUtils.h',
'AVOS/Sources/Foundation/Utils/LCUtils.h'
ss.library =
'sqlite3'
end
s.subspec 'Protobuf+Protocol' do |ss|
ss.requires_arc = false
ss.source_files =
'AVOS/Sources/Realtime/IM/Protobuf/*.{h,m}',
'AVOS/Sources/Realtime/IM/Commands/MessagesProtoOrig.pbobjc.{h,m}'
end
s.subspec 'Realtime' do |ss|
ss.ios.deployment_target = '12.0'
ss.osx.deployment_target = '11.0'
ss.dependency 'LeanCloudObjc/Foundation', "#{s.version}"
ss.dependency 'LeanCloudObjc/Protobuf+Protocol', "#{s.version}"
ss.source_files =
'AVOS/LeanCloudObjc/Realtime.h',
'AVOS/Sources/Vendor/WebSocket/*.{h,m}',
'AVOS/Sources/Realtime/IM/**/*.{h,m,c}',
'AVOS/Sources/Realtime/LiveQuery/**/*.{h,m}'
ss.public_header_files =
'AVOS/LeanCloudObjc/Realtime.h',
'AVOS/Sources/Vendor/WebSocket/*.h',
'AVOS/Sources/Realtime/IM/Message/LCIMMessageOption.h',
'AVOS/Sources/Realtime/IM/Conversation/LCIMKeyedConversation.h',
'AVOS/Sources/Realtime/IM/Conversation/LCIMConversationQuery.h',
'AVOS/Sources/Realtime/IM/TypedMessages/LCIMTextMessage.h',
'AVOS/Sources/Realtime/IM/TypedMessages/LCIMRecalledMessage.h',
'AVOS/Sources/Realtime/IM/TypedMessages/LCIMLocationMessage.h',
'AVOS/Sources/Realtime/IM/TypedMessages/LCIMAudioMessage.h',
'AVOS/Sources/Realtime/IM/TypedMessages/LCIMVideoMessage.h',
'AVOS/Sources/Realtime/IM/TypedMessages/LCIMFileMessage.h',
'AVOS/Sources/Realtime/IM/TypedMessages/LCIMTypedMessage.h',
'AVOS/Sources/Realtime/IM/TypedMessages/LCIMImageMessage.h',
'AVOS/Sources/Realtime/IM/Client/LCIMClient.h',
'AVOS/Sources/Realtime/IM/LCIMCommon.h',
'AVOS/Sources/Realtime/IM/Conversation/LCIMConversation.h',
'AVOS/Sources/Realtime/IM/Message/LCIMMessage.h',
'AVOS/Sources/Realtime/IM/Signature/LCIMSignature.h',
'AVOS/Sources/Realtime/IM/Client/LCIMClientProtocol.h',
'AVOS/Sources/Realtime/IM/Conversation/LCIMConversationMemberInfo.h',
'AVOS/Sources/Realtime/LiveQuery/LCLiveQuery.h'
ss.exclude_files =
'AVOS/Sources/Realtime/IM/Protobuf/*.{h,m}',
'AVOS/Sources/Realtime/IM/Commands/MessagesProtoOrig.pbobjc.{h,m}'
end
end