Skip to content

Commit 407731e

Browse files
authored
Merge pull request #792 from Backbase/chore/ios-generated-clients-update
NewGen Clients: Update Templates to remove internal steps
2 parents 1b8d179 + 132b7f5 commit 407731e

File tree

3 files changed

+7
-13
lines changed

3 files changed

+7
-13
lines changed

boat-scaffold/src/main/templates/boat-swift5/Podfile.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
source 'https://cdn.cocoapods.org'
22

3-
platform :ios, '11.0'
3+
platform :ios, '15.0'
44

55
plugin 'cocoapods-art', sources: %w[
66
bbartifacts3
@@ -14,7 +14,7 @@ install! 'cocoapods', deterministic_uuids: false
1414
inhibit_all_warnings!
1515

1616
def normal_pods
17-
pod 'Backbase', '>= 6.11'{{#useRxSwift}}
17+
pod 'Backbase', '>= 9'{{#useRxSwift}}
1818
pod 'RxSwift', '~> 5.0.0'{{/useRxSwift}}{{#useAlamofire}}
1919
pod 'Alamofire', '~> 4.9.1'{{/useAlamofire}}{{#usePromiseKit}}
2020
pod 'PromiseKit', '~> 6.12.0'{{/usePromiseKit}}

boat-scaffold/src/main/templates/boat-swift5/Podspec.mustache

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@ Pod::Spec.new do |s|
44
s.summary = '{{projectDescription}}'{{/projectDescription}}{{#podDescription}}
55
s.description = '{{podDescription}}'{{/podDescription}}
66
s.license = '{{#podLicense}}{{& podLicense}}{{/podLicense}}'{{^podLicense}}'Proprietary'{{/podLicense}}
7-
s.homepage = '{{podHomepage}}{{^podHomepage}}https://github.com/OpenAPITools/openapi-generator{{/podHomepage}}'{{#podAuthors}}
7+
s.homepage = '{{podHomepage}}{{^podHomepage}}https://github.com/Backbase/backbase-openapi-tools{{/podHomepage}}'{{#podAuthors}}
88
s.author = '{{podAuthors}}'{{/podAuthors}}
99

1010
s.platform = :ios
11-
s.ios.deployment_target = '14.0'
11+
s.ios.deployment_target = '15.0'
1212
{{#podDocumentationURL}}
1313
s.documentation_url = '{{podDocumentationURL}}'
1414
{{/podDocumentationURL}}
1515

1616
# ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
17-
s.source = { :git => "https://github.com/Backbase/backbase-openapi-tools", :tag => "{{{podVersion}}}" }
17+
s.source = { :git => 'https://github.com/backbase-rnd/backbase-generated-clients-ios/ios-clients/{{projectName}}'}
1818
s.source_files = '{{projectName}}/Classes/**/*.swift'
1919

2020
# ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #

boat-scaffold/src/main/templates/boat-swift5/XcodeGen.mustache

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,8 @@ targets:
55
{{projectName}}:
66
type: framework
77
platform: iOS
8-
deploymentTarget: "14.0"
8+
deploymentTarget: "15.0"
99
sources: [{{projectName}}]
1010
info:
1111
path: ./Info.plist
12-
version: {{#podVersion}}{{podVersion}}{{/podVersion}}{{^podVersion}}{{#apiInfo}}{{version}}{{/apiInfo}}{{^apiInfo}}}0.0.1{{/apiInfo}}{{/podVersion}}
13-
scheme:
14-
testTargets:
15-
- {{projectName}}IntegrationTests
16-
postBuildScripts:
17-
- path: ../../fix_swiftinterface.sh
18-
name: Fix swiftinterface
12+
version: {{#podVersion}}{{podVersion}}{{/podVersion}}{{^podVersion}}{{#apiInfo}}{{version}}{{/apiInfo}}{{^apiInfo}}}0.0.1{{/apiInfo}}{{/podVersion}}

0 commit comments

Comments
 (0)