Skip to content

Commit a0bae0d

Browse files
eladnavaakofman
authored andcommitted
Document where to specify Swift version preference
1 parent 0bcad3c commit a0bae0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ Or add it as a dependency into your own plugin:
1616

1717
`<dependency id="cordova-plugin-add-swift-support" version="1.7.2"/>`
1818

19-
By default, the Swift 3 support is added but the legacy version (2.3) can still be configured as a preference:
19+
By default, the Swift 3 support is added but the legacy version (2.3) can still be configured as a preference, inside the project's `config.xml`, within the `<platform name="ios">` section:
2020

2121
`<preference name="UseLegacySwiftLanguageVersion" value="true" />`
2222

23-
Or it is possible to specify the version as following:
23+
Or it is possible to specify the version as following, inside the project's `config.xml`, within the `<platform name="ios">` section:
2424

2525
`<preference name="UseSwiftLanguageVersion" value="4" />`
2626

0 commit comments

Comments
 (0)