Increase template Swift version from 4 to 5 (#41882)
This commit is contained in:
@@ -186,7 +186,7 @@ void main() {
|
||||
when(mockXcodeProjectInterpreter.isInstalled).thenReturn(true);
|
||||
when(mockXcodeProjectInterpreter.getBuildSettings(any, any))
|
||||
.thenAnswer((_) async => <String, String>{
|
||||
'SWIFT_VERSION': '4.0',
|
||||
'SWIFT_VERSION': '5.0',
|
||||
});
|
||||
|
||||
final FlutterProject project = FlutterProject.fromPath('project');
|
||||
|
||||
@@ -314,7 +314,7 @@ void main() {
|
||||
when(mockXcodeProjectInterpreter.getBuildSettings(any, any)).thenAnswer(
|
||||
(_) {
|
||||
return Future<Map<String, String>>.value(<String, String>{
|
||||
'SWIFT_VERSION': '4.0',
|
||||
'SWIFT_VERSION': '5.0',
|
||||
});
|
||||
});
|
||||
addAndroidGradleFile(project.directory,
|
||||
|
||||
Reference in New Issue
Block a user