-
Notifications
You must be signed in to change notification settings - Fork 3
/
XMPPFramework.podspec
87 lines (74 loc) · 3.31 KB
/
XMPPFramework.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
Pod::Spec.new do |s|
s.name = 'XMPPFramework'
s.version = '3.5'
s.license = 'BSD'
s.summary = 'An XMPP Framework in Objective-C for the Mac / iOS development community.'
s.homepage = 'https://github.com/robbiehanson/XMPPFramework'
s.author = { 'Robbie Hanson' => '[email protected]' }
s.source = { :git => 'https://github.com/robbiehanson/XMPPFramework.git', :tag => '3.5' }
s.description = 'XMPPFramework provides a core implementation of RFC-3920 (the xmpp standard), along with
the tools needed to read & write XML. It comes with multiple popular extensions (XEP\'s),
all built atop a modular architecture, allowing you to plug-in any code needed for the job.
Additionally the framework is massively parallel and thread-safe. Structured using GCD,
this framework performs well regardless of whether it\'s being run on an old iPhone, or
on a 12-core Mac Pro. (And it won\'t block the main thread... at all).'
s.requires_arc = true
s.subspec 'Core' do |core|
core.source_files = FileList['Core/**/*.{h,m}','Vendor/libidn/*.h']
core.resource = "Vendor/libidn/libidn.a"
core.libraries = 'xml2','resolv','idn'
core.xcconfig = { 'HEADER_SEARCH_PATHS' => '$(SDKROOT)/usr/include/libxml2 $(SDKROOT)/usr/include/libresolv',
'LIBRARY_SEARCH_PATHS' => '$(PODS_ROOT)/XMPPFramework/Vendor/libidn'}
core.dependency 'XMPPFramework/Authentication'
core.dependency 'XMPPFramework/Categories'
core.dependency 'XMPPFramework/Utilities'
core.ios.dependency 'XMPPFramework/KissXML'
core.dependency 'CocoaLumberjack'
core.dependency 'CocoaAsyncSocket' ,'~>7.2.0'
end
s.subspec 'Authentication' do |authentication|
authentication.source_files = 'Authentication/**/*.{h,m}'
authentication.dependency 'XMPPFramework/Core'
end
s.subspec 'Categories' do |categories|
categories.source_files = 'Categories/**/*.{h,m}'
categories.dependency 'XMPPFramework/Core'
end
s.subspec 'Utilities' do |utilities|
utilities.source_files = 'Utilities/**/*.{h,m}'
utilities.dependency 'XMPPFramework/Core'
end
s.subspec 'KissXML' do |kissxml|
kissxml.source_files = 'Vendor/KissXML/**/*.{h,m}'
kissxml.dependency 'XMPPFramework/Core'
end
s.subspec 'BandwidthMonitor' do |bwm|
bwm.source_files = 'Extensions/BandwidthMonitor'
bwm.dependency 'XMPPFramework/Core'
end
s.subspec 'CoreDataStorage' do |cds|
cds.source_files = 'Extensions/CoreDataStorage/**/*.{h,m}'
cds.framework = 'CoreData'
cds.dependency 'XMPPFramework/Core'
end
s.subspec 'ProcessOne' do |po|
po.source_files = 'Extensions/ProcessOne/**/*.{h,m}'
po.dependency 'XMPPFramework/Core'
end
# s.subspec 'XEP-0082' do |ss|
# ss.source_files = 'Extensions/XEP-0082/**/*.{h,m}'
# end
# s.subspec 'XEP-0203' do |ss|
# ss.source_files = 'Extensions/XEP-0203/**/*.{h,m}'
# end
# s.subspec 'Roster' do |roster|
# roster.source_files = 'Extensions/Roster/**/*.{h,m}'
# roster.exclude_files = 'Extensions/Roster/CoreDataStorage/**/*.{h,m}'
# roster.dependency 'XMPPFramework/Core'
# end
s.subspec 'Reconnect' do |rc|
rc.source_files = 'Extensions/Reconnect/**/*.{h,m}'
rc.framework = 'SystemConfiguration'
rc.dependency 'XMPPFramework/Core'
end
end