File tree 3 files changed +6
-2
lines changed
3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -12846,6 +12846,10 @@ exports.default = function (context) {
12846
12846
if ( config . getPreference ( 'UseLegacySwiftLanguageVersion' , 'ios' ) ) {
12847
12847
xcodeProject . updateBuildProperty ( 'SWIFT_VERSION' , '2.3' , buildConfig . name ) ;
12848
12848
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 ) ;
12849
12853
} else {
12850
12854
xcodeProject . updateBuildProperty ( 'SWIFT_VERSION' , '3.0' , buildConfig . name ) ;
12851
12855
console . log ( 'Update SWIFT version to 3.0' , buildConfig . name ) ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " cordova-plugin-add-swift-support" ,
3
- "version" : " 1.6.2 " ,
3
+ "version" : " 1.7.0 " ,
4
4
"description" : " Add Swift support to your iOS plugins" ,
5
5
"homepage" : " https://github.com/akofman/cordova-plugin-add-swift-support" ,
6
6
"author" : {
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<plugin xmlns =" http://apache.org/cordova/ns/plugins/1.0"
3
3
id =" cordova-plugin-add-swift-support"
4
- version =" 1.6.2 " >
4
+ version =" 1.7.0 " >
5
5
6
6
<name >AddSwiftSupport</name >
7
7
<license >Apache 2.0</license >
You can’t perform that action at this time.
0 commit comments