File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
modules/openapi-generator/src/main/resources/swift5 Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -5,10 +5,18 @@ import PackageDescription
5
5
let package = Package(
6
6
name: "{ {projectName} }",
7
7
platforms: [
8
+ { {#useCombine} }
9
+ .iOS(.v13),
10
+ .macOS(.v10_15),
11
+ .tvOS(.v13),
12
+ .watchOS(.v6),
13
+ { {/useCombine} }
14
+ { {^useCombine} }
8
15
.iOS(.v9),
9
16
.macOS(.v10_11),
10
17
.tvOS(.v9),
11
18
.watchOS(.v3),
19
+ { {/useCombine} }
12
20
],
13
21
products: [
14
22
// Products define the executables and libraries produced by a package, and make them visible to other packages.
Original file line number Diff line number Diff line change 1
1
Pod::Spec.new do |s|
2
2
s.name = '{ {projectName} }'{ {#projectDescription} }
3
3
s.summary = '{ {projectDescription} }'{ {/projectDescription} }
4
+ { {#useCombine} }
5
+ s.ios.deployment_target = '13.0'
6
+ s.osx.deployment_target = '10.15'
7
+ s.tvos.deployment_target = '13.0'
8
+ s.watchos.deployment_target = '6.0'
9
+ { {/useCombine} }
10
+ { {^useCombine} }
4
11
s.ios.deployment_target = '9.0'
5
12
s.osx.deployment_target = '10.11'
6
13
s.tvos.deployment_target = '9.0'
7
14
s.watchos.deployment_target = '3.0'
15
+ { {/useCombine} }
8
16
s.version = '{ {#podVersion} }{ {podVersion} }{ {/podVersion} }{ {^podVersion} }{ {#apiInfo} }{ {version} }{ {/apiInfo} }{ {^apiInfo} }}0.0.1{ {/apiInfo} }{ {/podVersion} }'
9
17
s.source =
{ {#podSource} }
{ {& podSource} }
{ {/podSource} }
{ {^podSource} }
{ :git => ' [email protected] :OpenAPITools/openapi-generator.git' , :tag => ' v{{#apiInfo}}{{version}}{{/apiInfo}}{{^apiInfo}}}0.0.1{{/apiInfo}}' } { {/podSource} }
10
18
{ {#podAuthors} }
You can’t perform that action at this time.
0 commit comments