-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmqttc.podspec
54 lines (48 loc) · 1.96 KB
/
mqttc.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
Pod::Spec.new do |mqttc|
mqttc.name = "mqttc"
mqttc.version = "18.0.1"
mqttc.summary = "iOS, macOS, watchOS and tvOS native ObjectiveC MQTT Client Framework"
mqttc.homepage = "https://github.com/ckrey/mqttc"
mqttc.license = { :type => "EPLv1", :file => "LICENSE" }
mqttc.author = { "Christoph Krey" => "[email protected]" }
mqttc.source = {
:git => "https://github.com/ckrey/mqttc.git",
:tag => "18.0.1",
:submodules => true
}
mqttc.requires_arc = true
mqttc.platform = :ios, "16", :osx, "12", :tvos, "16", :watchos, "9"
mqttc.ios.deployment_target = "16"
mqttc.osx.deployment_target = "12"
mqttc.tvos.deployment_target = "16"
mqttc.watchos.deployment_target = "9"
mqttc.default_subspec = 'Core'
mqttc.subspec 'Core' do |core|
core.dependency 'mqttc/MinL'
core.dependency 'mqttc/ManagerL'
end
mqttc.subspec 'MinL' do |minl|
minl.dependency 'CocoaLumberjack'
minl.source_files = "MQTTClient/MQTTClient/MQTTNWTransport.{h,m}",
"MQTTClient/MQTTClient/MQTTCoreDataPersistence.{h,m}",
"MQTTClient/MQTTClient/MQTTDecoder.{h,m}",
"MQTTClient/MQTTClient/MQTTInMemoryPersistence.{h,m}",
"MQTTClient/MQTTClient/MQTTLog.{h,m}",
"MQTTClient/MQTTClient/MQTTWill.{h,m}",
"MQTTClient/MQTTClient/MQTTStrict.{h,m}",
"MQTTClient/MQTTClient/MQTTClient.h",
"MQTTClient/MQTTClient/MQTTMessage.{h,m}",
"MQTTClient/MQTTClient/MQTTPersistence.h",
"MQTTClient/MQTTClient/MQTTProperties.{h,m}",
"MQTTClient/MQTTClient/MQTTSession.{h,m}",
"MQTTClient/MQTTClient/MQTTTransport.{h,m}"
minl.xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => 'LUMBERJACK=1' }
end
mqttc.subspec 'ManagerL' do |managerl|
managerl.source_files = "MQTTClient/MQTTClient/MQTTSessionManager.{h,m}",
"MQTTClient/MQTTClient/ReconnectTimer.{h,m}",
"MQTTClient/MQTTClient/ForegroundReconnection.{h,m}"
managerl.dependency 'mqttc/MinL'
managerl.xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => 'LUMBERJACK=1' }
end
end