-
-
Notifications
You must be signed in to change notification settings - Fork 261
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
PlatformNotSupported MacOS #344
Comments
Are you able to keep using 2.2.5 until we can fix this? Seems like a simple fix would be to suppress this exception around this line: CommandLineUtils/src/CommandLineUtils/CommandLineApplication.cs Lines 917 to 920 in fa06ab9
Also (rhetorical question), why in the world does Xamarin allow adding an event handler to ConsoleKeyPress, but not removing that same handler? |
Yep, but one day we'll have to bring support for a new version of iOS in our game engine :) |
@natemcmaster the version of library doesn't matter, cause we experience the same issue on 2.2.5 on Mojave. Here is a full system specification: === Visual Studio Community 2019 for Mac === Version 8.3.10 (build 2)
=== Mono Framework MDK === Runtime: === NuGet === Version: 5.3.0.6192 === .NET Core SDK === SDK: /usr/local/share/dotnet/sdk/3.0.100/Sdks === .NET Core Runtime === Runtime: /usr/local/share/dotnet/dotnet === Xamarin.Profiler === Version: 1.6.12.29 === Updater === Version: 11 === Apple Developer Tools === Xcode 11.2 (15526) === Xamarin.Mac === Version: 6.6.0.12 (Visual Studio Community) === Xamarin.iOS === Version: 13.6.0.12 (Visual Studio Community) === Xamarin.Android === Version: 10.0.6.2 (Visual Studio Community) SDK Tools Version: 26.1.1 Build Information: === Microsoft Mobile OpenJDK === Java SDK: /Users/gameforest/Library/Developer/Xamarin/jdk/microsoft_dist_openjdk_8.0.25 === Android SDK Manager === Version: 1.4.0.65 === Android Device Manager === Version: 1.2.0.116 === Xamarin Inspector === Version: 1.4.3 === Xamarin Designer === Version: 16.3.0.256 === Build Information === Release ID: 803100002 === Operating System === Mac OS X 10.14.5 |
As a workaround for the Xamarin issue, I suggest you implement
You are getting the same stack trace and error in 2.2.5? Are you 100% sure? There is no usage of CancelKeyPress in v2.2.5. Please check if this is another error. |
Perhaps I was mistaken. Can't reproduce it now. Thank you for your workaround :) |
Describe the bug
We've decided to update MacOS + Xamarin + XCode to the latest stable versions. That made us update your library from 2.2.5 to 2.5.1 (latest currently). The cli started to throw exception
System.PlatformNotSupportedException: Operation is not supported on this platform
.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Work as usual.
Additional context
Full stacktrace:
Full info about system:
The text was updated successfully, but these errors were encountered: