MigrateConfig and migrate integration testing base (#99092)

This commit is contained in:
Gary Qian
2022-03-16 11:10:22 -07:00
committed by GitHub
parent 1c2c942112
commit 63ff7a199b
16 changed files with 982 additions and 91 deletions

View File

@@ -134,6 +134,12 @@ class IosProject extends XcodeBasedProject {
Directory get symlinks => _flutterLibRoot.childDirectory('.symlinks');
/// True, if the app project is using swift.
bool get isSwift {
final File appDelegateSwift = _editableDirectory.childDirectory('Runner').childFile('AppDelegate.swift');
return appDelegateSwift.existsSync();
}
/// Do all plugins support arm64 simulators to run natively on an ARM Mac?
Future<bool> pluginsSupportArmSimulator() async {
final Directory podXcodeProject = hostAppRoot