I'm going through the Swift tutorial, on the "Handling Error" section: https://developer.apple.com/tutorials/app-dev-training/handling-errors
One of the step asks you to input xcrun simctl get_app_container booted com.example.apple-samplecode.Scrumdinger data into the Terminal to get the location of the App Sandbox.
When I do this, I get the following error:
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
The operation couldn’t be completed. No such file or directory
No such file or directory
I've tried 2 things but neither worked:
Command-Shift-K in Xcode to clean the build
"Erase all Content and Settings" in Simulator to reset it
I'm using the Xcode 14.2, running on M2 Macbook Air.
Selecting any option will automatically load the page