IceTouch Server on iPhone

JanggwanJanggwan Member Janggwan ImOrganization: KAISTProject: Internet of Things architecture
I'm developing the server using IceTouch on iPhone 3GS.

When I execute [communicator stringToIdentity:@Thing],

my application crashes.

My console prints following message.

===========================================
+[ICEIdentity identityWithIdentity:]: unrecognized selector sent to class 0x214c6c

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[ICEIdentity identityWithIdentity:]: unrecognized selector sent to class 0x214c6c
=======================================

I'm using IceTouch-1.1, and Xcode on Mac OS X 10.6.4
tested on iPhone device.
(I failed to test on iPhone simulator. It seemed that problem is related to *.dylib file.

please help.

Comments

  • matthewmatthew NL, CanadaMember Matthew NewhookOrganization: ZeroC, Inc.Project: Internet Communications Engine ✭✭✭
    I suspect you are not linking with the correct compilation flags. In particular, you must link with -ObjC and -all_load (see Building Objective-C static libraries with categories for details). In theory that should occur automatically if you use the latest version of the Xcode plugin. Is that the case?
Sign In or Register to comment.