-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uno-check should report an accurate error when running under macOS Rosetta #229
Comments
Thanks for the report. We're not able to reproduce this on an arm64 device. Could you attach the full log of the tool running with |
Here it is: 🚑 Uno Platform Check v1.20.0.0 💉 🔎 OpenJDK 11.0 Checkup... 🔎 Android SDK Checkup... 🔎 Android Emulator Checkup... 🔎 XCode 15.0.1 Checkup... User defaults from command line: 2024-02-16 08:04:12.822 xcodebuild[21393:3221260] Writing error result bundle to /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/ResultBundle_2024-16-02_08-04-0012.xcresult ✔ Xcode.app (15.2 15C500b) 🔎 .NET SDK Checkup... ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 🔔 Attempt to fix? [y/n] (y): y 🔎 GTK3+ Checkup... 🔎 dotnet new Uno Project Templates Checkup... ❌ Skipped: .NET SDK - Workloads (8.0.200) Checkup had Error status: dotnet dotnet: .NET SDK (8.0.200) not installed. Press Enter to finish... |
Here is another log: Learn about SDK resolution: Checkup had Error status: dotnetworkloads-8.0.200 dotnetworkloads-8.0.200: Workload command failed: |
Thanks. There is unfortunately not enough information to troubleshoot this issue with this log. Let's try something else. Can you run this:
and paste the logs here? |
% wget https://dotnetcli.azureedge.net/dotnet/Sdk/8.0.200/dotnet-sdk-8.0.200-osx-arm64.pkg dotnet-sdk-8.0.200-osx-arm64.pkg 100%[======================================================================================================================================================================>] 208.39M 14.1MB/s in 21s 2024-02-16 08:13:34 (9.89 MB/s) - ‘dotnet-sdk-8.0.200-osx-arm64.pkg’ saved [218511165/218511165] installer: Error - Microsoft .NET SDK 8.0.200 (arm64) can’t be installed on this computer. |
This is a curious error:
Which would indicate a specific configuration for your machine. Could you run this:
and post the results |
% /usr/bin/arch |
Thanks, this explains a lot about the behavior. Would you have configured your shell to execute under rosetta? @spouliot is it something that rings a bell? |
Thats weird, I downloaded another terminal warp, and ran the same command and got this: |
SHEEAT. You are right. I'm so sorry, dang it. |
User error. |
Thanks, let me keep this one opened so uno-check can provide more accurate errors when this scenario happens. |
You can detect rosetta translation using this code https://github.com/xamarin/xamarin-macios/pull/9972/files#diff-ace43dcd3a57b49dc3ac34fae417ce7a5c57941dd75e4601f3a2a2e6f2d8e2b9R111 |
Title says it all:
⚠ Installation failed for .NET SDK 8.0.101.
Fix failed - '/usr/bin/sudo' with arguments '/usr/sbin/installer -verbose
-dumplog -pkg
"/var/folders/tg/72zl10b10ks2z1gw2c3vmnqm0000gn/T/j2l0vqyc.v01.pkg" -target /'
exited with code 1
🔎 GTK3+ Checkup...
🔎 dotnet new Uno Project Templates Checkup...
❌ Skipped: .NET SDK - Workloads (8.0.101)
────────────────────────────────────────────────────────────────────────────────
🔔 There were one or more problems detected.
Please review the errors and correct them and run uno-check again.
The text was updated successfully, but these errors were encountered: