Commit 594e7000 authored by Chinmay Garde's avatar Chinmay Garde

Merge pull request #1396 from chinmaygarde/master

iOS: Make the error message on `flutter ios --init` more descriptive
parents 95ac9b3e c66e00f4
......@@ -122,7 +122,9 @@ class IOSCommand extends FlutterCommand {
// Step 2: Inflate the archive into the user project directory
bool result = await _inflateXcodeArchive(xcodeprojPath, archiveBytes);
if (!result) {
print("Could not fetch the Xcode project from the cloud...");
print("Error: Could not init the Xcode project: the 'ios' directory already exists.");
print("To proceed, remove the 'ios' directory and try again.");
print("Warning: You may have made manual changes to files in the 'ios' directory.");
return -1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment