Skip to content

Commit dffa622

Browse files
committed
Bump version to 1.7.0
1 parent 8df61bb commit dffa622

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

add-swift-support.js

+4
Original file line numberDiff line numberDiff line change
@@ -12846,6 +12846,10 @@ exports.default = function (context) {
1284612846
if (config.getPreference('UseLegacySwiftLanguageVersion', 'ios')) {
1284712847
xcodeProject.updateBuildProperty('SWIFT_VERSION', '2.3', buildConfig.name);
1284812848
console.log('Use legacy Swift language version', buildConfig.name);
12849+
} else if (config.getPreference('UseSwiftLanguageVersion', 'ios')) {
12850+
var swiftVersion = config.getPreference('UseSwiftLanguageVersion', 'ios');
12851+
xcodeProject.updateBuildProperty('SWIFT_VERSION', swiftVersion, buildConfig.name);
12852+
console.log('Use Swift language version', swiftVersion);
1284912853
} else {
1285012854
xcodeProject.updateBuildProperty('SWIFT_VERSION', '3.0', buildConfig.name);
1285112855
console.log('Update SWIFT version to 3.0', buildConfig.name);

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cordova-plugin-add-swift-support",
3-
"version": "1.6.2",
3+
"version": "1.7.0",
44
"description": "Add Swift support to your iOS plugins",
55
"homepage": "https://github.com/akofman/cordova-plugin-add-swift-support",
66
"author": {

plugin.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
33
id="cordova-plugin-add-swift-support"
4-
version="1.6.2" >
4+
version="1.7.0" >
55

66
<name>AddSwiftSupport</name>
77
<license>Apache 2.0</license>

0 commit comments

Comments
 (0)