IOS-003
IOSXcode setup is not finished
Details
The Xcode licence has not been accepted or its first-launch components are not installed, so xcodebuild and simctl refuse to run. Both steps need an administrator password: in a terminal they run after a yes, and without one --accept-licenses (the licence) and --yes (first launch) run them with sudo -n, which works only where sudo needs no password.
Suggested action
Run sudo xcodebuild -license accept and sudo xcodebuild -runFirstLaunch, then retry.