Xcode Unable to create a save panel.

Hi, I upgrade to monterey and the latest available xcode version. In existing or new projects I'm not able to create new files.

After selecting the template iOS -> Swift File -> Next

I get a Pop-Up which state: "Unable to create a save panel. Try your operation again. If that fails, quit and relaunch the application and try again." Of course I started Xcode new as well as the macbook but no change in behavior. I also tried it was the latest xcode beta but the problem still occurs.

Anybody any ideas.

Thanks

Answered by dwayne87 in 695212022

For me the solution was to delete all xcode's I had installed and every file related on disc do xcode, reinstall xcode, now I can create a File without any Problem. Even Xcode seems to perform better then before.

I have the same issue, so frustrating!!

Found a workaround for me. If I unplug the external monitor on my MacBook then it works. If I plug it in again then it fails again. Hope that helps.

I think I have found what did I do that triggered this bug. With my external monitor (non-retina) still attached, I went to System Preferences -> Display, dragged the menu back to the MacBook internal display, restarted Xcode, then the problem went away.

It seems to be related to external non-retina display chosen as the main monitor.

I have the same problem and I'm not connected to an external monitor at all. It might be memory related

Accepted Answer

For me the solution was to delete all xcode's I had installed and every file related on disc do xcode, reinstall xcode, now I can create a File without any Problem. Even Xcode seems to perform better then before.

Right click on Xcode and quit Xcode works every time for me

As mentioned in Stack Overflow, try Force Quit Application when XCode is running. option + command + esc Restarting XCode didn't work for me, but forcing it to quit did.

Xcode Unable to create a save panel.
 
 
Q