jogshardik jogshardik - 1 year ago 93
Swift Question

Error while build project xcode says : "you don't have permission"

Hello may be this is silly question and may be asked before it but I am not getting proper solution for this. I have downloaded one project from the internet and when I am trying to run it/build it the xCode says :

The file “PROJECT NAME” couldn’t be opened because you don’t have permission to view it.

I have also put read/write permission to the project folder as well but still not working.

Can anybody have idea why this is happen? Please help me to resolve this issue

enter image description here

Answer Source

Go up to the folder containing the project in your Finder.

Right Click > Get Info

Go to the bottom of the Info pane, and click the little lock, type in your password when prompted.

Then, change permissions for yourself to read+write.

Click the little gear below, and apply to all enclosed items.

Close the lock once you are finished!

If this doesn't work, Change the value of "Compiler for C/C++/Objective-C" to Default Compiler under BUILD OPTIONS

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download