xcodefile-permissions

Xcode can't create output file, permission denied


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.


Solution

  • Are you logged on to the nathan user account?

    Have you tried deleting tho derived date location in Organiser and trying again? enter image description here