docs-maui
docs-maui copied to clipboard
iOS Remote Simulator screenshot location is incorrect
Type of issue
Missing information
Description
The docs page says the screenshots are saved in Users/{User}/Pictures/Xamarin/iOS Simulator but that isn't the case, at least on my machine and the latest simulator version.
❯ cd ~/Pictures/Xamarin
Set-Location : Cannot find path 'C:\Users\subka\Pictures\Xamarin' because it does not exist.
At line:12 char:95
+ ... if ($path -eq $null) {Set-Location} else {Set-Location $path}; Set-F ...
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Users\subka\Pictures\Xamarin:String) [Set-Location], ItemNotFoundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetLocationCommand
I haven't found where it is yet but will update the issue if I do. Android emulator just saves to ~/Desktop so that's easy.
Additional Context
I don't know if this affects anything, but my Pictures/Desktop/Videos profile folders are tied to my OneDrive.
Page URL
https://learn.microsoft.com/en-us/dotnet/maui/ios/remote-simulator?view=net-maui-9.0
Content source URL
https://github.com/dotnet/docs-maui/blob/main/docs/ios/remote-simulator.md
Document Version Independent Id
9a3e5ccb-ecdd-c174-6e36-ce3e74a68e4e
Platform Id
2ad22db1-ffd6-dc76-c4b2-2fe08ae78c58
Article author
@davidbritch
Metadata
- ID: 9a3e5ccb-ecdd-c174-6e36-ce3e74a68e4e
- PlatformId: 2ad22db1-ffd6-dc76-c4b2-2fe08ae78c58
- Service: dotnet-mobile
- Sub-service: dotnet-maui
I realized maybe it was capturing on the MacOS device, but no folder there either. However, to workaround it I could use the simulator on that device to capture a screenshot (which gets saved to the desktop).
ls ~/Pictures/Xamarin
ls: /Users/kamranicus/Pictures/Xamarin: No such file or directory
I'm finding them in ~/Pictures/Microsoft/iOS Simulator. Weird sudden change?
Of course, those screenshots are somehow at half size. I can set the scale of the simulator to 100%, and they're full-size. I really thought that was just for the window display? Still, somehow my menu page freezes the simulator window at 100%, so I can't get a screenshot of that.