[iOS] Unable to run crossplatform example on real iOS Device #16006
-
Hello everyone, I´m trying to run the crossplatform example on an iPad that is connected to my Macbook via USB. i did all the provisioning, run the sample app with xCode and added all the information according to the tutorial. Im using VSCode so i run
I´m also getting many of these errors: When im changing the runtime identifier and use dotnet run, the emulator starts and i can run the app. Is this problem maybe related to the way i start the application? Do i need Visual Studio for Mac? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Apparently you can't simply use "dotnet run" on iOS/Android. Also, while Microsoft didn't release iOS/Android compatible .NET extension for VS Code, Avalonia also works with combination of https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csdevkit and https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.dotnet-maui |
Beta Was this translation helpful? Give feedback.
Apparently you can't simply use "dotnet run" on iOS/Android.
See what options you have here: dotnet/xamarin#26
Also, while Microsoft didn't release iOS/Android compatible .NET extension for VS Code, Avalonia also works with combination of https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csdevkit and https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.dotnet-maui