forked from leancloud/objc-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAVOSCloudIM.podspec
62 lines (53 loc) · 2.09 KB
/
AVOSCloudIM.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
Pod::Spec.new do |s|
s.name = 'AVOSCloudIM'
s.version = '12.3.0'
s.homepage = 'https://leancloud.cn/'
s.summary = 'LeanCloud IM Objective-C SDK'
s.authors = 'LeanCloud'
s.license = {
:type => 'Apache License, Version 2.0',
:file => 'LICENSE'
}
s.ios.deployment_target = '8.0'
s.osx.deployment_target = '10.10'
s.source = {
:git => "https://github.com/leancloud/objc-sdk.git",
:tag => "#{s.version}"
}
s.subspec '_ARC' do |ss|
ss.dependency 'AVOSCloudIM/_NOARC', "#{s.version}"
ss.source_files =
'AVOS/AVOSCloudIM/**/*.{h,m,c}'
ss.public_header_files =
'AVOS/AVOSCloudIM/Message/AVIMMessageOption.h',
'AVOS/AVOSCloudIM/Conversation/AVIMKeyedConversation.h',
'AVOS/AVOSCloudIM/Conversation/AVIMConversationQuery.h',
'AVOS/AVOSCloudIM/TypedMessages/AVIMTextMessage.h',
'AVOS/AVOSCloudIM/TypedMessages/AVIMRecalledMessage.h',
'AVOS/AVOSCloudIM/TypedMessages/AVIMLocationMessage.h',
'AVOS/AVOSCloudIM/TypedMessages/AVIMAudioMessage.h',
'AVOS/AVOSCloudIM/TypedMessages/AVIMVideoMessage.h',
'AVOS/AVOSCloudIM/TypedMessages/AVIMFileMessage.h',
'AVOS/AVOSCloudIM/TypedMessages/AVIMTypedMessage.h',
'AVOS/AVOSCloudIM/TypedMessages/AVIMImageMessage.h',
'AVOS/AVOSCloudIM/Client/AVIMClient.h',
'AVOS/AVOSCloudIM/AVIMCommon.h',
'AVOS/AVOSCloudIM/Conversation/AVIMConversation.h',
'AVOS/AVOSCloudIM/Message/AVIMMessage.h',
'AVOS/AVOSCloudIM/Signature/AVIMSignature.h',
'AVOS/AVOSCloudIM/Client/AVIMClientProtocol.h',
'AVOS/AVOSCloudIM/Conversation/AVIMConversationMemberInfo.h',
'AVOS/AVOSCloudIM/Client/AVIMClientInternalConversationManager.h',
'AVOS/AVOSCloudIM/AVOSCloudIM.h'
ss.exclude_files =
'AVOS/AVOSCloudIM/Protobuf/*.{h,m}',
'AVOS/AVOSCloudIM/Commands/MessagesProtoOrig.pbobjc.{h,m}'
end
s.subspec '_NOARC' do |ss|
ss.requires_arc = false
ss.source_files =
'AVOS/AVOSCloudIM/Protobuf/*.{h,m}',
'AVOS/AVOSCloudIM/Commands/MessagesProtoOrig.pbobjc.{h,m}'
end
s.dependency 'AVOSCloud', "#{s.version}"
end