You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

虚拟机中启动Xcode 11 beta崩溃,求解决方案

Fixes for Xcode 11 Beta Crashing When Launching Playgrounds/Projects in a VM

Hey there, sorry to hear you're hitting this frustrating crash with Xcode 11 beta in your macOS VM—let's walk through some targeted fixes that usually resolve this kind of issue:

First, a quick recap of your scenario to align: you're running macOS 10.14.5 in a virtual machine, installed Xcode 11 beta, and every attempt to start a new Playground or project triggers an unexpected exit with the crash details you shared.

Here are the troubleshooting steps, ordered from quickest to more involved:

1. Wipe Xcode's Corrupted Caches & Derived Data

Corrupted temporary files are the #1 culprit for random Xcode crashes. Let's clear them out:

  • Quit Xcode entirely (double-check it's not running in the background via Activity Monitor)
  • Open Finder, press Cmd + Shift + G, and paste this path: ~/Library/Developer/Xcode/DerivedData
  • Delete everything inside this folder
  • Next, navigate to ~/Library/Caches/com.apple.dt.Xcode and delete all files here too
  • Restart your VM, then launch Xcode again and test creating a project/Playground

2. Disable GPU Acceleration in Your VM

Xcode 11 beta is picky about virtualized graphics hardware. Try turning off 3D acceleration:

  • Shut down the VM completely
  • Open your hypervisor's settings (e.g., VMware Fusion, VirtualBox) for the VM
  • Look for display/graphics settings, then disable "Accelerate 3D Graphics" or similar options
  • Boot the VM back up, launch Xcode, and see if the crash stops

3. Reset Xcode's User Preferences

Corrupted preferences can cause weird behavior. Reset them with a quick terminal command:

  • Open Terminal in your VM
  • Run this command: defaults delete com.apple.dt.Xcode
  • Quit Terminal, restart Xcode, and test again

4. Reinstall Xcode 11 Beta

If the installation itself is corrupted, a fresh install might fix it:

  • Drag Xcode-beta.app from your Applications folder to the Trash
  • Empty the Trash, then restart your VM
  • Download a fresh copy of Xcode 11 beta from Apple's Developer site
  • Install it again, then try launching a project/Playground

5. Boost VM Resource Allocation

Xcode (especially beta versions) is resource-hungry. Make sure your VM has enough power:

  • Shut down the VM, open its settings
  • Allocate at least 8GB of RAM (16GB is ideal for beta Xcode)
  • Assign at least 2 CPU cores (4 cores recommended)
  • Ensure there's at least 20GB of free space on the VM's virtual disk
  • Boot the VM and give Xcode another shot

内容的提问来源于stack exchange,提问作者Bjorn Morrhaye

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.13 08:00:27