Open feint 2.5 compile problem NSXMLParserDelegate

hey all,
we are trying to build a project from unity 1.7 with open feint 2.5. in xcode we build to ios4

we cant seem to get around this error.

cant find protocal for NSXMLParserDelegate

has anyone had this problem?

thanks,
Chris

Yes. I encountered this issue too.

I worked around the issue by commenting out the #ifdef in FBXMLHandler.h:

//#ifdef __IPHONE_4_0
//@interface FBXMLHandler : NSObject< NSXMLParserDelegate > {
//#else
@interface FBXMLHandler : NSObject {
//#endif

jaha!
great. super thanks for that.

so, this almost makes a build but gets me to 1 more error. Do you have magic for this too? And btw. When did open feint get so hard to put in?

Thanks again,
Chris

Undefined symbols:
“_uncompress”, referenced from:
-[OFCompressableData internalUncompressedData] in OFCompressableData.o
ld: symbol(s) not found
collect2: ld returned 1 exit status

aha

had to include a z lib

Thanks, that fixed the errors for me too!

I commented out what you said and got another error.

Undefined symbols:
  "_gDidResignActive", referenced from:
      _gDidResignActive$non_lazy_ptr in AppController+OpenFeint.o
     (maybe you meant: _gDidResignActive$non_lazy_ptr)
ld: symbol(s) not found
collect2: ld returned 1 exit status

Any insight?

Thanks,
-Mike

Bump, I’m pulling out all my hair by having this problem too :slight_smile:

I commented out the lines and also got the error mentioned above!

me too… if someone knows how to solve this, please, let us know!

any news here?

http://openfeint.com/developers/forum/showthread.php?1532-_gDidResignActive-Build-Error-with-OF-2-5-1-and-Unity-3-(beta)-and-iOS-4-0-1&p=2097

I worked thru the didResignActive issue with the OpenFeint staff for solving this issue with UnityiPhone 1.6 and the solution seems to have resolved it for Unity3 as well :slight_smile:

perfect, thanks