forked from robbiehanson/XMPPFramework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
XMPPFramework.podspec
53 lines (45 loc) · 2.29 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
Pod::Spec.new do |s|
s.name = 'XMPPFramework'
s.version = '4.1.1'
s.osx.deployment_target = '10.9'
s.ios.deployment_target = '9.0'
s.tvos.deployment_target = '9.0'
s.license = { :type => 'BSD', :file => 'copying.txt' }
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 => s.version }
# s.source = { :git => 'https://github.com/robbiehanson/XMPPFramework.git', :branch => 'master' }
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 (XEPs),
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.default_subspec = 'default'
s.subspec 'default' do |ss|
ss.source_files = ['Core/**/*.{h,m}',
'Authentication/**/*.{h,m}', 'Categories/**/*.{h,m}',
'Utilities/**/*.{h,m}', 'Extensions/**/*.{h,m}']
ss.ios.exclude_files = 'Extensions/SystemInputActivityMonitor/**/*.{h,m}'
ss.libraries = 'xml2', 'resolv'
ss.frameworks = 'CoreData', 'SystemConfiguration', 'CoreLocation'
ss.xcconfig = {
'HEADER_SEARCH_PATHS' => '$(SDKROOT)/usr/include/libxml2 $(SDKROOT)/usr/include/libresolv',
}
ss.resources = [ 'Extensions/**/*.{xcdatamodel,xcdatamodeld}']
ss.dependency 'CocoaLumberjack' # Skip pinning version because of the awkward 2.x->3.x transition
ss.dependency 'CocoaAsyncSocket', '~> 7.6'
ss.dependency 'KissXML', '~> 5.2'
ss.dependency 'libidn', '~> 1.35'
end
s.subspec 'Swift' do |ss|
ss.ios.deployment_target = '9.0'
ss.tvos.deployment_target = '9.0'
ss.osx.deployment_target = '10.10'
ss.source_files = 'Swift/**/*.swift'
ss.dependency 'XMPPFramework/default'
ss.dependency 'CocoaLumberjack/Swift'
end
end