Xcode.app crashes after opening new project

It will shows a dialog when I launch Xcode.app.

You don’t have permission to save the file “DeveloperDiskImages” in the folder “Developer”.

Then, I clicked OK to move on. Then, I choose the button "Create New Project", the app just crashed immediately. I also tried to manually create the folder "DeveloperDiskImages" in /Users/howardchung/Library/Developer/

It will not show the dialog while launching Xcode.app, but also crashed in "Create New Project".

What version of Xcode is this with?

It sounds like you have a permission issue with ~/Library/Developer that prevented you from creating that directory and installing the DDIs there.

Note that Xcode 15.x used ~/Library/Developer where as Xcode 16 now uses the system location exclusively (/Library/Developer/...). This directory permission issue probably won't impact Xcode 16, but you should still look into it and fix the permissions since other services might need to utilize that path.

Xcode.app crashes after opening new project
 
 
Q