Skip to content

Commit 8c747cf

Browse files
RMET-4037 ::: iOS ::: Remove cordova-plugin-add-swift-support Plugin (#154)
* chore(ios): remove cordova-plugin-add-swift-support The only thing the plugin needs is the SwiftVersion. This is included directly on plugin.xml. Remove deployment-target value, as this is provided by MABS. * chore: add CHANGELOG entry --------- Co-authored-by: Alexandre Jacinto <[email protected]>
1 parent 4a6ebed commit 8c747cf

File tree

2 files changed

+13
-11
lines changed

2 files changed

+13
-11
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
The changes documented here do not include those from the original repository.
88

9+
## [Unreleased]
10+
11+
### Chores
12+
- (ios) Replace `cordova-plugin-add-swift-support` plugin with the `SwiftVersion` preference (https://outsystemsrd.atlassian.net/browse/RMET-4037).
13+
914
## [2.3.0]
1015

1116
### Fixes

plugin.xml

+8-11
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,11 @@
4141

4242
<platform name="ios">
4343
<config-file parent="/*" target="config.xml">
44-
<feature name="OSHealthFitness">
45-
<param name="ios-package" value="OSHealthFitness" />
46-
</feature>
47-
<preference name="deployment-target" value="13" />
48-
<preference name="UseSwiftLanguageVersion" value="5" />
49-
</config-file>
44+
<feature name="OSHealthFitness">
45+
<param name="ios-package" value="OSHealthFitness" />
46+
</feature>
47+
<preference name="SwiftVersion" value="5" />
48+
</config-file>
5049

5150
<!-- iOS Permissions -->
5251
<preference name="HEALTH_SHARE_DESCRIPTION" default="App needs to shared health data" />
@@ -105,13 +104,11 @@
105104

106105
<config-file target="*/Entitlements-Release.plist" parent="com.apple.developer.healthkit.recalibrate-estimates">
107106
<true/>
108-
</config-file>
107+
</config-file>
109108

110-
<!-- iOS Source Files -->
111-
<source-file src="src/ios/OSHealthFitness.swift" />
109+
<!-- iOS Source Files -->
110+
<source-file src="src/ios/OSHealthFitness.swift" />
112111
<framework src="src/ios/frameworks/OSHealthFitnessLib.xcframework" embed="true" custom="true" />
113-
114-
<dependency id="cordova-plugin-add-swift-support" url="https://github.com/OutSystems/cordova-plugin-add-swift-support.git#2.0.3-OS1"/>
115112

116113
<podspec>
117114
<config>

0 commit comments

Comments
 (0)