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
2 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

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 Account.