Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

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

In Xcode, I may have used the Xcode fix function(with some suggestion) on some code and changed the "UIGeometry.h" unexpectedly.

Now I can't close the Xcode and it just popup "You don’t have permission to write to the folder that the file “UIGeometry.h” is in."

And every time I run app with Xcode, it also pops up the message, and says "You can duplicate this document and edit the duplicate. Only the duplicate will include your changes."


Any advise?

MacBook Air (M1, 2020)

Posted on Mar 29, 2023 5:22 AM

Reply
Question marked as Best reply

Posted on Mar 29, 2023 5:53 AM

Have you tried performing a 'Force Quit', then open it again to see if it is resolved?

2 replies

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

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.