-
Notifications
You must be signed in to change notification settings - Fork 69
/
Moscapsule.podspec
38 lines (30 loc) · 1.33 KB
/
Moscapsule.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
Pod::Spec.new do |s|
s.name = "Moscapsule"
s.version = "0.6.4"
s.summary = "MQTT Client for iOS written in Swift"
s.description = <<-DESC
MQTT Client for iOS written in Swift.
This framework is implemented as a wrapper of Mosquitto library
and covers almost all mosquitto features.
DESC
s.homepage = "https://github.com/flightonary/Moscapsule"
s.license = "MIT"
s.author = { "tonary" => "[email protected]" }
s.platform = :ios
s.ios.deployment_target = '8.0'
s.source = { :git => "https://github.com/flightonary/Moscapsule.git", :tag => s.version }
s.source_files = "Moscapsule/*.{h,m,swift}", "mosquitto/lib/*.{h,c}"
s.public_header_files = "Moscapsule/Moscapsule.h", "Moscapsule/MosquittoCallbackBridge.h", "mosquitto/lib/mosquitto.h"
s.libraries = "ssl", "crypto"
s.requires_arc = true
s.xcconfig = {
'SWIFT_VERSION' => '4.0',
'OTHER_CFLAGS' => '-DWITH_THREADING -DWITH_TLS -DWITH_TLS_PSK',
'HEADER_SEARCH_PATHS' => '"${PODS_ROOT}/Headers/Public/OpenSSL-Universal"',
'LIBRARY_SEARCH_PATHS' => [
'"$(PODS_ROOT)/OpenSSL-Universal/lib-ios"',
'"$(PODS_ROOT)/OpenSSL-Universal/ios/lib"'
]
}
#s.dependency "OpenSSL-Universal", "~> 1.0.1.20" # not working well
end