bdunagan

fill the void - bdunagan

27 Feb 2010
Codesigning on Different OS Versions

A couple days ago, I was trying to codesign the latest application bundle when I got a very strange error message:

bdunagan$ codesign -f -s 'EMC Corporation' 'Retrospect.app'
codesign_allocate: for architecture i386 object:
/Retrospect.app/Contents/MacOS/Retrospect malformed object (unknown load command 5)
Retrospect.app: object file format invalid or unsuitable


Googling for those exact phrases lead nowhere. Eventually, I came across an excellent StackOverflow comment from Apple employee Chris Espinosa: different OSes. In fact, that was the problem. The application bundle was built on 10.6 and I was trying to use codesign on 10.5. Doesn’t work.

Previous LinkedIn Twitter GitHub Email Next