代码拉取完成,页面将自动刷新
Pod::Spec.new do |s|
s.name = "CocoaMQTT"
s.version = "2.0.1"
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.12"
s.ios.deployment_target = "10.0"
s.tvos.deployment_target = "10.0"
# s.watchos.deployment_target = "2.0"
s.source = { :git => "https://github.com/emqx/CocoaMQTT.git", :tag => "2.0.1"}
s.default_subspec = 'Core'
s.subspec 'Core' do |ss|
ss.dependency "CocoaAsyncSocket", "~> 7.6.5"
ss.source_files = "Source/*.swift"
ss.exclude_files = "Source/CocoaMQTTWebSocket.swift"
end
s.subspec 'WebSockets' do |ss|
ss.dependency "CocoaMQTT/Core"
ss.dependency "Starscream", "~> 3.1.1"
ss.source_files = "Source/CocoaMQTTWebSocket.swift"
end
end
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。