Only try to get build settings if the Xcode project exists (#61979)
This commit is contained in:
@@ -521,7 +521,7 @@ class IosProject extends FlutterProjectPlatform implements XcodeBasedProject {
|
||||
Map<String, Map<String, String>> _buildSettingsByScheme;
|
||||
|
||||
Future<XcodeProjectInfo> projectInfo() async {
|
||||
if (!existsSync() || !globals.xcodeProjectInterpreter.isInstalled) {
|
||||
if (!xcodeProject.existsSync() || !globals.xcodeProjectInterpreter.isInstalled) {
|
||||
return null;
|
||||
}
|
||||
return _projectInfo ??= await globals.xcodeProjectInterpreter.getInfo(hostAppRoot.path);
|
||||
|
||||
Reference in New Issue
Block a user