-
Notifications
You must be signed in to change notification settings - Fork 425
/
CocoaMQTT.podspec
29 lines (26 loc) · 1.06 KB
/
CocoaMQTT.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
Pod::Spec.new do |s|
s.name = "CocoaMQTT"
s.version = "2.1.8"
s.summary = "MQTT v3.1.1 client library for iOS and OS X written with Swift 5"
s.homepage = "https://github.com/emqx/CocoaMQTT"
s.license = { :type => "MIT" }
s.authors = { "Feng Lee" => "[email protected]", "CrazyWisdom" => "[email protected]", "Alex Yu" => "[email protected]", "Leeway" => "[email protected]" }
s.swift_version = "5.0"
s.requires_arc = true
s.osx.deployment_target = "10.12"
s.ios.deployment_target = "12.0"
s.tvos.deployment_target = "10.0"
# s.watchos.deployment_target = "2.0"
s.source = { :git => "https://github.com/emqx/CocoaMQTT.git", :tag => "2.1.8"}
s.default_subspec = 'Core'
s.subspec 'Core' do |ss|
ss.dependency "MqttCocoaAsyncSocket", "~> 1.0.8"
ss.source_files = "Source/*.swift"
ss.exclude_files = "Source/CocoaMQTTWebSocket.swift"
end
s.subspec 'WebSockets' do |ss|
ss.dependency "CocoaMQTT/Core"
ss.dependency "Starscream", "4.0.4"
ss.source_files = "Source/CocoaMQTTWebSocket.swift"
end
end