using codesign on an exported processing app error: "cannot find code object on disk"
in
Integration and Hardware
•
21 days ago
I'm trying to use the Mac signing tool codesign to sign a processing generated app for distribution. This is so that it will run on 10.8.x without generating Gatekeeper errors.
Here's what I'm typing into Terminal (where "Developer ID Application: My Name" is the name of my signing certificate and "ApplicationName.app" is the name of my app):
Here's the error message I get:
I've spent most of the day googling & none of the solutions I've found has helped. I've tried running:
and
and
before signing to no avail. (Solutions recommended by other developers on various forums.)
Any help or pointers would be most appreciated! Thanks!
Here's what I'm typing into Terminal (where "Developer ID Application: My Name" is the name of my signing certificate and "ApplicationName.app" is the name of my app):
- codesign -f -s "Developer ID Application: My Name" "ApplicationName.app"
Here's the error message I get:
- ApplicationName.app: replacing existing signature
- ApplicationName.app: cannot find code object on disk
I've spent most of the day googling & none of the solutions I've found has helped. I've tried running:
- export CODESIGN_ALLOCATE="/Developer/Platforms/MacOSX.platform/Developer/usr/bin/codesign_allocate"
and
- export CODESIGN_ALLOCATE="/Applications/Xcode.app/Contents/Developer/usr/bin/codesign_allocate"
and
- ln -s /usr/bin/codesign_allocate /Applications/Xcode.app/Contents/Developer/usr/bin/codesign_allocate
before signing to no avail. (Solutions recommended by other developers on various forums.)
Any help or pointers would be most appreciated! Thanks!
1