Good Morning @Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.)
I believe I am signed in correctly, but I still can not find the button to vote?
cheers
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
First I am a complete newbie to Xamarin. I inherited a project, and have learned enough to get around on the Android side. I have my changes made and want to test the iOS side. I follow all the instructions to pair to a Mac, it connects. The iOS simulator will launch. But it will not open the program. It does not matter what simulator I choose. It does not matter if I am using VS 2019 or VS2022. Nothing but a black screen.
I tried to create a blank out of the box project in VS2022, and again nothing shows on the simulator.
Android works as expected.
One other thing, I am not sure if it related or not. When I try to stop the debug session on the iOS project, it takes several minutes. And a error message that starts with [N/A] Mono: the debugger is still attaching to the process or the process is not currently..........
OUTPUT Window from Build
1> Bundle Id: com.companyname.XamarinTest
1> App Id: com.companyname.XamarinTest
1> XamarinTest.iOS -> C:\Temp\XamarinTest\XamarinTest\XamarinTest.iOS\bin\iPhoneSimulator\Debug\XamarinTest.iOS.exe
========== Build: 1 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========
Launching 'XamarinTest.iOS' on 'iPad (9th generation) iOS 15.5'...
From Build Order
1> Bundle Id: com.companyname.XamarinTest
1> App Id: com.companyname.XamarinTest
1> XamarinTest.iOS -> C:\Temp\XamarinTest\XamarinTest\XamarinTest.iOS\bin\iPhoneSimulator\Debug\XamarinTest.iOS.exe
========== Build: 1 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========
Debug is empty
From Xamarin
Build properties for C:\Temp\XamarinTest\XamarinTest\XamarinTest.iOS\XamarinTest.iOS.csproj: VisualStudioProcessId: 33240, RunConfiguration: Default, ArchiveOnBuild: False, ArchivePath: , IsAppDistribution: False, SolutionPath: C:\Temp\XamarinTest\XamarinTest\XamarinTest.sln, SolutionName: XamarinTest, MessagingVersion: 17.1.0.329, DeviceSpecificBuild: false, TargetiOSDevice: , IsHotRestartBuild: False, _DotNetRootRemoteDirectory: /Users/bobcummings\Library\Caches\Xamarin\XMA\SDKs\dotnet/, ServerSshPort: 22, ServerTcpPort: 57829, ServerUser: Bob Cummings, ContinueOnDisconnected: False, ServerAddress: 172.30.231.146
Starting Simulator to launch App...
The Simulator has been started to launch App...
And nothing from Xamarin Diagnostics - Emulator
cheers
bob
Good Morning @Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.)
I believe I am signed in correctly, but I still can not find the button to vote?
cheers
Hello,
This is a known issue for which there has been fixed in the most recent release version, see Visual Studio feedback : https://developercommunity.visualstudio.com/t/Visual-Studio-2022-1711-iOS-simulator-/1695537?viewtype=solutions
I see your MessagingVersion is 17.1.0.329
, try to update VS2022, clean bin/obj
folder and test again.
You also could debug directly via VS for Mac.
Best Regards,
Wenyan Zhang
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.