forked from novastone-media/MQTT-Client-Framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMQTTClient.podspec
More file actions
38 lines (35 loc) · 1.26 KB
/
MQTTClient.podspec
File metadata and controls
38 lines (35 loc) · 1.26 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
35
36
37
38
Pod::Spec.new do |mqttc|
mqttc.name = "MQTTClient"
mqttc.version = "0.7.3"
mqttc.summary = "iOS, OSX and tvOS native ObjectiveC MQTT Client Framework"
mqttc.homepage = "https://github.com/ckrey/MQTT-Client-Framework"
mqttc.license = { :type => "EPLv1", :file => "LICENSE" }
mqttc.author = { "Christoph Krey" => "krey.christoph@gmail.com" }
mqttc.source = {
:git => "https://github.com/ckrey/MQTT-Client-Framework.git",
:tag => "0.7.3",
:submodules => true
}
mqttc.requires_arc = true
mqttc.platform = :ios, "6.1", :osx, "10.10", :tvos, "9.0"
mqttc.ios.deployment_target = "6.1"
mqttc.osx.deployment_target = "10.10"
mqttc.tvos.deployment_target = "9.0"
mqttc.default_subspec = 'Core'
mqttc.compiler_flags = '-DLUMBERJACK'
mqttc.subspec 'Core' do |core|
core.source_files = "MQTTClient/MQTTClient",
"MQTTClient/MQTTClient/*.{h,m}"
core.dependency 'CocoaLumberjack'
end
mqttc.subspec 'Websocket' do |ws|
ws.platform = :ios, "6.1", :osx, "10.10"
ws.ios.deployment_target = "6.1"
ws.osx.deployment_target = "10.10"
ws.source_files = "MQTTClient/MQTTClient/MQTTWebsocketTransport/*.{h,m}"
ws.dependency 'SocketRocket'
ws.dependency 'MQTTClient/Core'
ws.requires_arc = true
ws.libraries = "icucore"
end
end