Brian Dunagan

February 27 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' ''
codesign_allocate: for architecture i386 object:
/ malformed object (unknown load command 5) 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.

Create iTunes Link Arrows iPhone Tip: Larger Hit Area for UIButton
LinkedIn GitHub Email