Re: How to Register (and build) a Mac App on Apple Developer and iTunes Connect

João Colaço

You are right. I forgot to change the path…

However I think Xcode should strip those “detritus” when copying the files to the app bundle… Also the error message a bit cryptic.

On 28 Aug 2017, 17:29 +0100, Steve Christensen <punster@...>, wrote:
Actually that should be xattr -cr <path_to_project_resources_directory> otherwise you'll see this message on every build since the original files to be copied into the app bundle will continue to have the attributes set.

On Aug 28, 2017, at 9:23 AM, João Colaço <joaocolaco@...> wrote:

These files with extended attributes are copied from your project files to your app bundle.

I suggest you using xattr -cr <path_to_app_bundle> in your project folder. This will clean all the extended attributes from the files you are using, so they will not bring them to your App bundle when copied.

On 28 Aug 2017, 17:21 +0100, Jonathan Prescott <jprescott12@...>, wrote:
The App Bundle is the application you are building with Xcode. Some of the non-code files that you are including in your application like image files, artwork, help files, etc., have extended Finder info bits set, which code signing does not like.


On Aug 28, 2017, at 11:53 AM, Dave <dave@...> wrote:


Thanks for the info, I’m not sure what is meany by the “App Bundle” ?

I have an XCode project with a bunch of source files and resources, not sure if this is the “App Bundle”?

All the Best

On 28 Aug 2017, at 16:58, João Colaço <joaocolaco@...> wrote:


xattr -cr <path_to_app_bundle
to remove the extended attributes that are triggering those errors.

João Colaço

On 28 Aug 2017, 15:46 +0100, Dave <dave@...>, wrote:
Hi All,

I’m try to build my application for Mac. It compels ok, but I get this Code Sign Error. I

Code Sign Error Group
Command /usr/bin/codesign failed with exit code 1

CodeSign /Users/surfacedetail/Library/Developer/Xcode/DerivedData/SudokuSolverForMac-enipqybjgmjkafbtrpztyszququm/Build/Products/Debug/
cd /Documents/Development/Projects/LTW/DuplexityProjects
export CODESIGN_ALLOCATE=/Applications/

Signing Identity: "Mac Developer: David Burgun (6P9972FX69)"

/usr/bin/codesign --force --sign 4400BD4F644B7B607AD13805E11BB1BA7BA6CE87 --timestamp=none /Users/surfacedetail/Library/Developer/Xcode/DerivedData/SudokuSolverForMac-enipqybjgmjkafbtrpztyszququm/Build/Products/Debug/

/Users/surfacedetail/Library/Developer/Xcode/DerivedData/SudokuSolverForMac-enipqybjgmjkafbtrpztyszququm/Build/Products/Debug/ resource fork, Finder information, or similar detritus not allowed
Command /usr/bin/codesign failed with exit code 1

Does anyone have any idea what the problem might be?

Thanks a lot
All the Best

Join to automatically receive all group messages.