Thursday, December 1, 2011

Undefined symbols for architecture armv7

This was a error I was getting after trying to install Xcode 3.2.6 when I already had Xcode 4.x.  I think installing Xcode 3.2.6 screwed up the codesigning.  This article from stack overflow saved me from throwing my mac out the window.

http://stackoverflow.com/questions/4842717/iphone-codesign-object-file-format-invalid-or-unsuitable

It basically makes a symlink to the latest code sign.

sudo mv /usr/bin/codesign_allocate /usr/bin/codesign_allocate_old sudo ln -s /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate /usr/bin

No comments:

Post a Comment