Codesign exit code 1

When I build my project with XCode 8 et macOS Sierra GM, I got this error :

/Users/MAD/Library/Developer/Xcode/DerivedData/LC2017-bobbuoezbkpgnvfvizbptyliqcna/Build/Products/Release/LibéCompta 2017.app: resource fork, Finder information, or similar detritus not allowed

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

Same project work with XCode 7.3.1 et macOS 11

Any idea for the detritus ?

Use Xcode's Product menu w/the option key pressed and select 'Clean Build Folder', then try again.

Codesign exit code 1
 
 
Q