resource fork, Finder information, or similar detritus not allowed Command /usr/bin/codesign failed with exit code 1

When trying to build two objective C apps under Xcode 8.1 I get an error:


resource fork, Finder information, or similar detritus not allowed

Command /usr/bin/codesign failed with exit code 1


Following the advice I found on this forum I went to the termial app and executed



Mac-Pro:~ bruce$ cd My\ Projects/PerPuzzle

Mac-Pro:PerPuzzle bruce$ xattr -rc


Mac-Pro:PerPuzzle bruce$ cd DerivedData

Mac-Pro:DerivedData bruce$ xattr -rc


This procedure had no effect.


Does anyone have any advice on how I might proceed?

I found a link to a utillity on the App Store, CleanDetritus. I downloaded and ran the utillity on my project folder and the problem was solved. 🙂

resource fork, Finder information, or similar detritus not allowed Command /usr/bin/codesign failed with exit code 1
 
 
Q