change getXCodeTool exception
This commit is contained in:
parent
fbd7551003
commit
98c3bb1c8e
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ Future<String> getXCodeTool({String? sdkType, String? findTool}) async {
|
||||||
]);
|
]);
|
||||||
|
|
||||||
if (result.exitCode != 0) {
|
if (result.exitCode != 0) {
|
||||||
throw Exception("Failed to run xcrun\n${result.stderr}");
|
throw Exception("Failed to get ${sdkType ?? "XCode"} ${findTool ?? "SDK"}");
|
||||||
}
|
}
|
||||||
|
|
||||||
return result.stdout.toString().trim();
|
return result.stdout.toString().trim();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue