Skip to content

Commit

Permalink
Merge pull request #16 from NiklasMerz/master
Browse files Browse the repository at this point in the history
Set legacy swift version
  • Loading branch information
akofman authored Oct 7, 2016
2 parents 77005d7 + 0f0e87f commit 3ad027b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/add-swift-support.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,12 @@ module.exports = function(context) {
xcodeProject.updateBuildProperty('LD_RUNPATH_SEARCH_PATHS','"@executable_path/Frameworks"', buildConfig.name);
console.log('Update IOS build setting LD_RUNPATH_SEARCH_PATHS to: @executable_path/Frameworks', 'for build configuration', buildConfig.name);
}

if(typeof xcodeProject.getBuildProperty('SWIFT_VERSION', buildConfig.name) === 'undefined') {
xcodeProject.updateBuildProperty('SWIFT_VERSION','3.0', buildConfig.name);
console.log('Update SWIFT version to', 3.0, buildConfig.name);
}

}
}

Expand Down

0 comments on commit 3ad027b

Please sign in to comment.