change getXCodeTool exception

This commit is contained in:
Henry Hiles 2026-08-08 16:35:34 -04:00
commit 98c3bb1c8e
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -7,7 +7,7 @@ Future<String> getXCodeTool({String? sdkType, String? findTool}) async {
]);
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();