File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
Expand file tree Collapse file tree 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) {
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 ) ;
Original file line number Diff line number Diff line change 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" : {
Original file line number Diff line number Diff line change 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 >
You can’t perform that action at this time.
0 commit comments