Installed Xcode 27 beta 2, now I can't create any VMs

Hi, I installed Xcode 27 beta 2 and now I can't create any VMs using Virtualization. I tried uninstalling the beta Xcode and re-installing the Xcode 26, but it's still failing.

I was able to create VMs using ipsws before I installed Xcode 27, so I'm certain it's the cause.

Is there a way to fully uninstall everything having to do with Xcode from the machine without having to re-install my entire macOS?

Answered by DTS Engineer in 896465022

Let’s focus this discussion on this is existing thread.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

I tried

sudo rm -rf /Applications/Xcode*.app
sudo rm -rf /Library/Developer/CommandLineTools
sudo rm -rf /Library/Developer
rm -rf ~/Library/Developer
rm -rf ~/Library/Caches/com.apple.dt.Xcode
rm -rf ~/Library/Application\ Support/Xcode
rm -rf ~/Library/Application\ Support/com.apple.dt.Xcode
rm -rf ~/Library/Preferences/com.apple.dt.Xcode*
rm -rf ~/Library/Saved\ Application\ State/com.apple.dt.Xcode.savedState
sudo xcode-select --reset

And I manually deleted the CoreSimulators. I restarted, but it's still broken. Even installed older Xcode 26 and ran


XCODE_DESTINATION="/Applications"
XCODE_APP="Xcode.app"
sudo /usr/sbin/dseditgroup -o edit -a everyone -t group _developer
sudo xcode-select -s ${XCODE_DESTINATION}/${XCODE_APP}/Contents/Developer
sudo xcodebuild -license accept
sudo xcodebuild -runFirstLaunch
sudo DevToolsSecurity -enable
for PKG in $(/bin/ls ${XCODE_DESTINATION}/${XCODE_APP}/Contents/Resources/Packages/*.pkg); do
    sudo /usr/sbin/installer -pkg "$PKG" -target /
done
echo "Checking Xcode CLI tools"
sudo xcode-select -s "${XCODE_DESTINATION}/${XCODE_APP}"
xcode-select -p &> /dev/null
if [ $? -ne 0 ]; then
  echo "Xcode CLI tools not found. Installing them..."
  touch /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress;
  PROD=$(softwareupdate -l |
    grep "\*.*Command Line" |
    tail -n 1 | sed 's/^[^C]* //')
  softwareupdate -i "$PROD" --verbose;
else
  echo "Xcode CLI tools OK"
fi

I must be missing something still...

Let’s focus this discussion on this is existing thread.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

This is more of a question about how to revert the changes 27 beta did to my host. The other thread seems related to the creation of 27 VMs. I'm just trying to use Virtualization for older 15 and 26 VM IPSWs, not 27.

Accepted Answer
This is more of a question about how to revert the changes 27 beta did to my host.

There’s no easy way to uninstall the version of MobileDevice that was installed by Xcode 27 beta. If you don’t want to install a 26.6 beta, the canonical fix is the one described in the Xcode 27 Beta Release Notes (search for 179068335).

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Installed Xcode 27 beta 2, now I can't create any VMs
 
 
Q