Class Message is implemented in both

Post here your questions about the Objective-C API for SFS2X

Moderators: Lapo, Bax

hzjtyh
Posts: 1
Joined: 08 May 2012, 06:48

Class Message is implemented in both

Postby hzjtyh » 08 May 2012, 06:57

when I add SFS2XAPIIOS.framework into my project, the error message is below:

objc[1018]: Class Message is implemented in both /System/Library/PrivateFrameworks/MIME.framework/MIME and /var/mobile/Applications/79D7762A-12D9-466E-9DFB-DAAD0D6E03D9/MyApp.app/MyApp. One of the two will be used. Which one is undefined.

2012-05-08 15:37:18.468 MyApp[1247:707] [SFS - INFO]SFS2X API version: 1.0.4
2012-05-08 15:38:24.057 MyApp[1247:707] +[NSStream getStreamsToHostNamed:port:inputStream:outputStream:]: unrecognized selector sent to class 0x3edd023c
2012-05-08 15:38:24.059 MyApp[1247:707] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[NSStream getStreamsToHostNamed:port:inputStream:outputStream:]: unrecognized selector sent to class 0x3edd023c'
*** First throw call stack:
(0x33b3188f 0x32623259 0x33b3492f 0x33b33915 0x33a8e650 0x464a1 0x639e7 0x6370d 0x481c9 0x63aa7 0x4123 0x35786e53 0x35780985 0x3574ec6b 0x3574e70f 0x3574e0e3 0x3300622b 0x33b05523 0x33b054c5 0x33b04313 0x33a874a5 0x33a8736d 0x3577fa13 0x3577ce7d 0x6397 0x3c34)
terminate called throwing an exception

How to resolve it??
User avatar
A51Integrated
Posts: 240
Joined: 03 Jan 2012, 19:55
Location: Toronto, Canada
Contact:

Re: Class Message is implemented in both

Postby A51Integrated » 08 May 2012, 12:37

Possibly you've created a class called 'Message' that is conflicting with the one in the API. Try renaming that class to something else.
A51 Integrated
http://a51integrated.com / +1 416-703-2300

Return to “SFS2X iPhone / iPad / OSX API”

Who is online

Users browsing this forum: No registered users and 56 guests