-
Notifications
You must be signed in to change notification settings - Fork 115
Expand file tree
/
Copy pathZRouter.podspec
More file actions
36 lines (29 loc) · 1.49 KB
/
Copy pathZRouter.podspec
File metadata and controls
36 lines (29 loc) · 1.49 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
Pod::Spec.new do |s|
s.name = "ZRouter"
s.version = "1.1.1"
s.summary = "Interface-Oriented iOS Swift router for discovering modules and injecting dependencies with protocol."
s.description = <<-DESC
Interface-Oriented iOS Swift router for discovering modules and injecting dependencies with protocol, designed for VIPER. The view router can perform all navigation types in UIKit through one method. The service router can discover service with protocol.
DESC
s.homepage = "https://github.com/Zuikyo/ZIKRouter"
s.license = "MIT"
s.author = { "Zuikyo" => "zuikxyo@gmail.com" }
s.ios.deployment_target = "8.0"
s.osx.deployment_target = "10.10"
s.tvos.deployment_target = "9.0"
s.swift_version = "4.0"
s.source = { :git => "https://github.com/Zuikyo/ZIKRouter.git", :tag => "swift-#{s.version}" }
s.requires_arc = true
s.user_target_xcconfig = { 'OTHER_SWIFT_FLAGS' => '-Xcc -Wno-incomplete-umbrella' }
s.default_subspecs = 'ServiceRouter','ViewRouter'
s.subspec 'ServiceRouter' do |serviceRouter|
serviceRouter.dependency 'ZIKRouter/ServiceRouter', '>= 1.1.1'
serviceRouter.source_files = "ZRouter/*.swift",
"ZRouter/ServiceRouter/*.swift"
end
s.subspec 'ViewRouter' do |viewRouter|
viewRouter.dependency 'ZRouter/ServiceRouter'
viewRouter.dependency 'ZIKRouter/ViewRouter', '>= 1.1.1'
viewRouter.source_files = "ZRouter/ViewRouter/*.swift"
end
end