-
Notifications
You must be signed in to change notification settings - Fork 473
Expand file tree
/
Copy pathCocoaMQTT.podspec
More file actions
34 lines (31 loc) · 1.34 KB
/
Copy pathCocoaMQTT.podspec
File metadata and controls
34 lines (31 loc) · 1.34 KB
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
Pod::Spec.new do |s|
s.name = "CocoaMQTT"
s.version = "2.2.6"
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" => "feng@emqtt.io", "CrazyWisdom" => "zh.whong@gmail.com", "Alex Yu" => "alexyu.dc@gmail.com", "Leeway" => "leeway1208@gmail.com" }
s.swift_version = "5.0"
s.requires_arc = true
s.osx.deployment_target = "10.13"
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.2.6"}
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"
# Declaring any platform in a subspec overrides all inherited platform
# values from the parent spec, so all supported platforms are redeclared.
ss.ios.deployment_target = "12.0"
ss.osx.deployment_target = "10.13"
ss.tvos.deployment_target = "12.0"
ss.dependency "Starscream", ">= 4.0.8", "< 6.0"
ss.source_files = "Source/CocoaMQTTWebSocket.swift"
end
end