Compile errors in iPhone libs #4

Open
eagereyes opened this Issue May 23, 2010 · 5 comments

Projects

None yet

5 participants

@eagereyes

I'm getting weird errors when trying to compile the iPhone project. It's showing these as two errors and one warning each, all with identical messages. I'm using the latest (non-beta) SDK.

YAJLDocument.m:88: warning: '-document:didAddObject:toArray:' not found in protocol(s)
YAJLDocument.m:94: warning: '-document:didSetObject:forKey:inDictionary:' not found in protocol(s)
YAJLDocument.m:128: warning: '-document:didAddDictionary:' not found in protocol(s)
YAJLDocument.m:147: warning: '-document:didAddArray:' not found in protocol(s)

The functions are defined in the protocol, I have no idea what it's complaining about. Any ideas?

@rpetrich
rpetrich commented Jun 1, 2010

Appears to be a problem with the garbage collection __weak attribute. I've commented it out in my local copy, but there's bound to be a better solution.

@jonchui
jonchui commented Jun 4, 2010

I have the same problems. Any help would be great!

@gabriel
Owner
gabriel commented Nov 2, 2010

Is this still happening?

@jonchui
jonchui commented Nov 8, 2010

I don't know - switched over to the json-framework which worked much better for me.

@gabebear

I'd bet this was because you didn't have all_load in your linker flags. ( related to the note in http://developer.apple.com/library/mac/#qa/qa2006/qa1490.html )

I'm not seeing this with the current XCode 3.2.5 and current library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment