Search code examples
c++xcodepopupxcode11ostream

You don’t have permission to write to the folder that the file “ostream” is in


I had an error while editing a C++ file and Xcode put out a suggestion I clicked fix and I've been getting this pop up every time I try to run ANY file or project. More than that that I can't uninstall Xcode because the pop up is not allowing me to quit the application and a computer restart is also being interrupted by Xcode's refusal to quit.enter image description here


Solution

  • Force-quitting Xcode sufficed for me. Instructions here: https://support.apple.com/en-us/HT201276 After reopening the project, the problem was gone.