dotnet / dotnet/macios

Show a better error message when the build fails due to a missing simulator

Open
#19,985 2 comments 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
C#
Stars
2.9k
Forks
576
Avg merge
2d 12h
Merged PRs (30d)
123

Description

Sample error failure:

```
actool exited with code 1

/Users/builder/azdo/_work/2/s/xamarin-macios/tests/dotnet/AppWithXCAssets/iOS/obj/Debug/net8.0-ios/iossimulator-x64/actool/cloned-assets/Assets.xcassetserror: The operation couldn’t be completed. Failed to locate any simulator runtime matching options: {
BuildVersionString = 21C52;
Platforms = (
"com.apple.platform.iphonesimulator"
);
VersionString = "17.2";
}
```

We should show a better error.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.