Posted by: bearc0025 | May 13, 2009

JSON Framework Codesign – “object file format invalid or unsuitable” « Matt Galloway’s iPhone Apps

JSON Framework Codesign – “object file format invalid or unsuitable” « Matt Galloway’s iPhone Apps

(reposted here for archival)

I started using the lovely json-framework for the iPhone but then suddenly found that if I compiled for anything greater than 2.1 for a device, that it would pop up with:

> Codesign error: “object file format invalid or unsuitable”

It took me a long time to figure out what was going on, but thanks to a blog post, the fix is this:

> On the project settings, on the build tab, search for “Code Signing Resource Rules Path” and set “$(SDKROOT)/ResourceRules.plist” as its value.

I’m not sure how it works as it looks like that is the path it already has, but hey, it seems to work!

Man, these kinds of things suck so much time!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: