I'm using Big Sur with default XCode version 12.4. Using xcode-install, I installed XCode 10.3 and switched it to default version by means of command sudo xcode-select --switch /Applications/Xcode-10.3.app/Contents/Developer.
After that, I'm no longer able to execute commands xcrun simctl list or xcrun xctrace list devices to list installed and available simulators. I get the error:
sh: line 1: 3806 Bus error: 10 /Applications/Xcode-10.3.app/Contents/Developer/usr/bin/xcodebuild -sdk /Applications/Xcode-10.3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -find simctl 2> /dev/null
xcrun: error: unable to find utility "simctl", not a developer tool or in PATH
Hello
I'm using Big Sur with default XCode version 12.4. Using xcode-install, I installed XCode 10.3 and switched it to default version by means of command
sudo xcode-select --switch /Applications/Xcode-10.3.app/Contents/Developer
.After that, I'm no longer able to execute commands
xcrun simctl list
orxcrun xctrace list devices
to list installed and available simulators. I get the error:I followed this guide but that also din't do the trick.
I switching back to version 12.4, the problem doesn't occur anymore.