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/SudokuSolverForMac.app cd /Documents/Development/Projects/LTW/DuplexityProjects export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate 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/SudokuSolverForMac.app
/Users/surfacedetail/Library/Developer/Xcode/DerivedData/SudokuSolverForMac-enipqybjgmjkafbtrpztyszququm/Build/Products/Debug/SudokuSolverForMac.app: 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 Dave
|
|
Steve Christensen <punster@...>
I have run into this in the past. As I recall, some of the artwork (app icons, images used in the app, etc.) had extended Finder information set.
toggle quoted message
Show quoted text
On Aug 28, 2017, at 7:46 AM, 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/SudokuSolverForMac.app cd /Documents/Development/Projects/LTW/DuplexityProjects export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
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/SudokuSolverForMac.app
/Users/surfacedetail/Library/Developer/Xcode/DerivedData/SudokuSolverForMac-enipqybjgmjkafbtrpztyszququm/Build/Products/Debug/SudokuSolverForMac.app: 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 Dave
|
|
On 28 Aug 2017, 15:46 +0100, Dave <dave@...>, wrote:
toggle quoted message
Show quoted text
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/SudokuSolverForMac.app
cd /Documents/Development/Projects/LTW/DuplexityProjects
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
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/SudokuSolverForMac.app
/Users/surfacedetail/Library/Developer/Xcode/DerivedData/SudokuSolverForMac-enipqybjgmjkafbtrpztyszququm/Build/Products/Debug/SudokuSolverForMac.app: 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
Dave
|
|
Hi,
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 Dave
toggle quoted message
Show quoted text
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/SudokuSolverForMac.app
cd /Documents/Development/Projects/LTW/DuplexityProjects
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
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/SudokuSolverForMac.app
/Users/surfacedetail/Library/Developer/Xcode/DerivedData/SudokuSolverForMac-enipqybjgmjkafbtrpztyszququm/Build/Products/Debug/SudokuSolverForMac.app: 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
Dave
|
|
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.
Jonathan
toggle quoted message
Show quoted text
On Aug 28, 2017, at 11:53 AM, Dave < dave@...> wrote:
Hi,
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 Dave
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/SudokuSolverForMac.app cd /Documents/Development/Projects/LTW/DuplexityProjects export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
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/SudokuSolverForMac.app
/Users/surfacedetail/Library/Developer/Xcode/DerivedData/SudokuSolverForMac-enipqybjgmjkafbtrpztyszququm/Build/Products/Debug/SudokuSolverForMac.app: 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 Dave
|
|
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:
toggle quoted message
Show quoted text
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.
Jonathan
On Aug 28, 2017, at 11:53 AM, Dave < dave@...> wrote:
Hi,
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
Dave
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/SudokuSolverForMac.app
cd /Documents/Development/Projects/LTW/DuplexityProjects
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
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/SudokuSolverForMac.app
/Users/surfacedetail/Library/Developer/Xcode/DerivedData/SudokuSolverForMac-enipqybjgmjkafbtrpztyszququm/Build/Products/Debug/SudokuSolverForMac.app: 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
Dave
|
|
Steve Christensen <punster@...>
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.
toggle quoted message
Show quoted text
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.
Jonathan
On Aug 28, 2017, at 11:53 AM, Dave <dave@...> wrote:
Hi,
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 Dave
On 28 Aug 2017, at 16:58, João Colaço <joaocolaco@...> wrote:
Hi
Try xattr -cr <path_to_app_bundle> to remove the extended attributes that are triggering those errors. Read more at https://developer.apple.com/library/content/qa/qa1940/_index.html
Cheers 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/SudokuSolverForMac.app cd /Documents/Development/Projects/LTW/DuplexityProjects export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
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/SudokuSolverForMac.app
/Users/surfacedetail/Library/Developer/Xcode/DerivedData/SudokuSolverForMac-enipqybjgmjkafbtrpztyszququm/Build/Products/Debug/SudokuSolverForMac.app: 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 Dave
|
|
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:
toggle quoted message
Show quoted text
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.
Jonathan
On Aug 28, 2017, at 11:53 AM, Dave <dave@...> wrote:
Hi,
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
Dave
On 28 Aug 2017, at 16:58, João Colaço <joaocolaco@...> wrote:
Hi
Try
xattr -cr <path_to_app_bundle
to remove the extended attributes that are triggering those errors.
Read more at https://developer.apple.com/library/content/qa/qa1940/_index.html
Cheers
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/SudokuSolverForMac.app
cd /Documents/Development/Projects/LTW/DuplexityProjects
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
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/SudokuSolverForMac.app
/Users/surfacedetail/Library/Developer/Xcode/DerivedData/SudokuSolverForMac-enipqybjgmjkafbtrpztyszququm/Build/Products/Debug/SudokuSolverForMac.app: 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
Dave
|
|
Ok, that’s what was confusing me! I thought it should be done to the resources files themselves…..
toggle quoted message
Show quoted text
On 28 Aug 2017, at 18:29, 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.
|
|