forked from davidstump/SwiftPhoenixClient
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSwiftPhoenixClient.podspec
52 lines (45 loc) · 1.92 KB
/
SwiftPhoenixClient.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
#
# Be sure to run `pod lib lint SwiftPhoenixClient.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = "SwiftPhoenixClient"
s.version = "2.1.0"
s.summary = "Connect your Phoenix and iOS applications through WebSockets!"
s.swift_version = "5.0"
s.description = <<-EOS
SwiftPhoenixClient is a Swift port of phoenix.js, abstracting away the details
of the Phoenix Channels library and providing a near identical experience
to connect to your Phoenix WebSockets on iOS.
RxSwift extensions exist as well when subscribing to channel events.
A default Transport layer is implmenented for iOS 13 or later. If targeting
an earlier iOS version, please see the StarscreamSwiftPhoenixClient extention.
EOS
s.homepage = "https://github.com/davidstump/SwiftPhoenixClient"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "David Stump" => "[email protected]" }
s.source = { :git => "https://github.com/davidstump/SwiftPhoenixClient.git", :tag => s.version.to_s }
s.ios.deployment_target = '10.0'
s.osx.deployment_target = '10.12'
s.tvos.deployment_target = '10.0'
s.watchos.deployment_target = '3.0'
s.default_subspec = "Core"
s.swift_version = '5.0'
s.subspec "Core" do |ss|
ss.source_files = "Sources/SwiftPhoenixClient/"
ss.framework = "Foundation"
end
s.subspec "RxSwift" do |ss|
ss.source_files = "Sources/RxSwiftPhoenixClient/"
ss.dependency "SwiftPhoenixClient/Core"
ss.dependency "RxSwift", "~> 5.0"
end
s.subspec "Starscream" do |ss|
ss.source_files = "Sources/StarscreamSwiftPhoenixClient/"
ss.dependency "SwiftPhoenixClient/Core"
ss.dependency "Starscream", "~> 3.1"
end
end