-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMIOSwiftyArchitecture.podspec
101 lines (86 loc) · 3.97 KB
/
MIOSwiftyArchitecture.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
#
# Be sure to run `pod lib lint UploadAcceleratorSDK.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 = 'MIOSwiftyArchitecture'
s.version = '2.0.1'
s.summary = 'Breezy architecture in Swift for building iOS applications.'
s.description = <<-DESC
* Breezy architecture in Swift for building iOS applications. It offers lots of functions which simple and easy to use for developer.
DESC
s.homepage = 'https://github.com/Mioke/SwiftArchitectureWithPOP'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Mioke Klein' => '[email protected]' }
s.source = { :git => 'https://github.com/Mioke/SwiftArchitectureWithPOP.git', :tag => s.version.to_s }
s.ios.deployment_target = '13.0'
s.swift_versions = '5'
# s.frameworks = 'UIKit', 'Foundation'
# s.libraries = 'c++', 'sqlite3'
# s.source_files = 'SwiftyArchitecture/Base/**/*.swift'
s.default_subspecs = 'Assistance', 'Networking', 'RxExtension', 'AppDock', 'Componentize'
s.subspec 'Assistance' do |ss|
ss.frameworks = 'UIKit', 'Foundation'
ss.source_files = 'SwiftyArchitecture/Base/Assistance/**/*.swift'
end
s.subspec 'Networking' do |ss|
ss.frameworks = 'UIKit', 'Foundation'
ss.source_files = 'SwiftyArchitecture/Base/Networking/**/*.swift'
ss.dependency 'Alamofire', '~> 5.4'
ss.dependency 'ObjectMapper', '~> 4.2'
ss.dependency 'MIOSwiftyArchitecture/Assistance'
end
# s.subspec 'Persistance' do |ss|
# ss.frameworks = 'UIKit', 'Foundation'
# ss.source_files = 'SwiftyArchitecture/Base/Persistance/**/*.swift'
# ss.dependency 'FMDB'
# ss.dependency 'MIOSwiftyArchitecture/Assistance'
# end
s.subspec 'RxExtension' do |ss|
ss.source_files = 'SwiftyArchitecture/Base/RxExtension/**/*.swift'
ss.dependency 'MIOSwiftyArchitecture/Assistance'
ss.dependency 'MIOSwiftyArchitecture/Networking'
ss.dependency 'RxSwift', '~> 6.2'
end
s.subspec 'AppDock' do |ss|
ss.source_files = 'SwiftyArchitecture/Base/AppDock/**/*.swift'
ss.dependency 'MIOSwiftyArchitecture/Assistance'
ss.dependency 'MIOSwiftyArchitecture/Networking'
ss.dependency 'MIOSwiftyArchitecture/RxExtension'
ss.dependency 'RxSwift', '~> 6.2'
ss.dependency 'RxCocoa', '~> 6.2'
ss.dependency 'RxRealm' # 5.0.4
ss.dependency 'RealmSwift' # 10.45.2
ss.dependency "Realm"
end
s.subspec 'Componentize' do |ss|
ss.source_files = 'SwiftyArchitecture/Base/Componentize/**/*.swift'
ss.dependency 'MIOSwiftyArchitecture/Assistance'
ss.dependency 'Swinject', '~> 2.8'
ss.dependency 'RxSwift', '~> 6.2'
end
s.subspec 'Testable' do |ss|
ss.source_files = 'SwiftyArchitecture/Base/Testable/**/*.swift'
ss.dependency 'MIOSwiftyArchitecture/Assistance'
ss.dependency 'MIOSwiftyArchitecture/Networking'
ss.dependency 'MIOSwiftyArchitecture/RxExtension'
ss.dependency 'MIOSwiftyArchitecture/AppDock'
ss.dependency 'MIOSwiftyArchitecture/Componentize'
end
s.test_spec 'Tests' do |test_spec|
test_spec.source_files = 'SwiftyArchitecture/Base/Tests/**/*.swift'
# test_spec.dependency 'OCMock' # This dependency will only be linked with your tests.
test_spec.dependency 'MIOSwiftyArchitecture/Assistance'
test_spec.dependency 'MIOSwiftyArchitecture/Networking'
test_spec.dependency 'MIOSwiftyArchitecture/RxExtension'
test_spec.dependency 'MIOSwiftyArchitecture/AppDock'
test_spec.dependency 'MIOSwiftyArchitecture/Componentize'
test_spec.dependency 'MIOSwiftyArchitecture/Testable'
test_spec.dependency 'RxSwift', '~> 6.2'
end
# s.xcconfig = { "SWIFT_OBJC_BRIDGING_HEADER" => "SwiftyArchitecture/Resource/swiftArchitecture-Bridging-Header.h" }
# s.module_map = 'SwiftyArchitecture/Resource/module.modulemap'
end