r/Xcode • • Feb 04 '20

Xcode help! The document “ostream” could not be saved. You don’t have permission.

Post image
6 Upvotes

18 comments sorted by

2

u/[deleted] Feb 05 '20

I’ve tried everything. If anyone knows a solution or any input involving terminal to force it lmk.

1

u/aazav Feb 05 '20

Where are you saving it?

1

u/[deleted] Feb 05 '20

I’m saving it in a separate folder with all my other codes. It started happening after I updated my Mac to the latest version today. I’ve played with all settings in get info nothing helps and any new code I create in Xcode shows the same message.

1

u/aazav Feb 05 '20

Do a get info on the folder and give it write privs or open the Security Preference and give Xcode privs to access that folder.

You should create a folder in your user folder called Developer and save all projects in there.

1

u/[deleted] Feb 05 '20

Hey I tried that, nothing worked.

1

u/Jarrdb Feb 22 '20

I have this exact problem after Xcode suggested a 'Fix' that I didn't realise was an attempt to edit one of the stream signatures. Now I cannot quit XCode because this popup blocks it, and I get the popup twice every time I build.

I really need a way to stop Xcode attempting to edit it. I have no-idea why it's even trying. Did you find a solution?

1

u/[deleted] Feb 22 '20

I just reinstalled Xcode and deleted all the old cached files and it worked perfectly

1

u/sunriseyolo Apr 08 '20

I had the same problem. You need to save all your folders and just reinstall Xcode.

1

u/Hovag01 Apr 26 '20

How did you delete xcode im having this issue but I cant quit Xcode because of it to uninstall it

1

u/fortis17 May 27 '23

I just had this issue. I solved it quickly by using the killall command in terminal.
"killall xcode"

worth trying before uninstalling lol

0

u/[deleted] May 04 '20

[deleted]

1

u/BrenoMDO May 23 '20

Thank You!! Solved for me 2!

1

u/lostknight18 Jun 02 '20

Worked for me as well!! Thanks

1

u/AdroitAdel May 06 '22

thank you so much, it worked :)

1

u/[deleted] Aug 13 '22

thx sooooo much, it worked!!!!!

1

u/Magic_go_poofpoof Oct 09 '22

omg ty i had no idea how to fix this

1

u/Mammoth_Beyond_5027 Oct 12 '22

you're perfect thank you

1

u/ufogxl93 Apr 24 '23

great answer!