In Xcode I cannot compile my application anymore, the error is:
/usr/bin/lipo: can't create output file: /Users/nathan/Library/Developer/Xcode/DerivedData/PackageTracking-fpewhfohxohurlexwettvkopakyn/Build/Products/Release/PackageTracking.app/Contents/MacOS/PackageTracking (Permission denied)
error: couldn't remove '/Users/nathan/Library/Developer/Xcode/DerivedData/PackageTracking-fpewhfohxohurlexwettvkopakyn/Build/Products/Release/PackageTracking.app/Contents/MacOS/PackageTracking' after command failed: Permission denied
This folder was created by Xcode, why do I get a permission denied?
I tried to do a clean, same.
Are you logged on to the nathan
user account?
Have you tried deleting tho derived date location in Organiser and trying again?
I had a similar issue with permission denied to create folders in the /Users/username/Library/Developer/Xcode
folder.
What fixed things for me was to do the following in terminal
sudo chown -R username /Users/username/Library/Developer/Xcode
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With