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

3

9

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

Novercal answered 26/4, 2020 at 20:28 Comment(0)
M
10

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

Musing answered 15/5, 2020 at 23:56 Comment(0)
N
0

I found a solution I'm not sure if its the best one but I just saved my files externally deleted the project where the error occurred and the error stopped showing up.

Then I redownloaded the project to my machine. I hope that helps if anyone runs into this problem in the future.

Novercal answered 26/4, 2020 at 20:50 Comment(0)
G
0
  1. Go to perferences->locations and delete the DerivedData folder picture showing data
  1. Force close Xcode
Gametophore answered 25/2, 2023 at 12:11 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.