Nethravathitcs / unitt

Automatically exported from code.google.com/p/unitt
0 stars 0 forks source link

Undefined Symbols for architecture i386: _kCFStreamErrorDomain Mach ... #35

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

Doing what is shown in
http://code.google.com/p/unitt/wiki/UnittWebSocketClient

What is the expected output? What do you see instead?

Undefined symbols for architecture i386:
  "_kCFStreamErrorDomainMach", referenced from:
      -[AsyncSocket errorFromCFStreamError:] in libUnittWebSocketClient.a(AsyncSocket.o)
  "_kCFStreamErrorDomainNetDB", referenced from:
      -[AsyncSocket errorFromCFStreamError:] in libUnittWebSocketClient.a(AsyncSocket.o)
  "_kCFStreamErrorDomainNetServices", referenced from:
      -[AsyncSocket errorFromCFStreamError:] in libUnittWebSocketClient.a(AsyncSocket.o)
  "_kCFStreamErrorDomainSystemConfiguration", referenced from:
      -[AsyncSocket errorFromCFStreamError:] in libUnittWebSocketClient.a(AsyncSocket.o)
  "_kCFStreamPropertySSLSettings", referenced from:
      -[AsyncSocket maybeStartTLS] in libUnittWebSocketClient.a(AsyncSocket.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

What version of the product are you using? On what operating system?
UnittWebSocketClient 0.9.4
XCode 4.2
Mac OS 10.6.8
iPhone 5.0 Simulator

Please provide any additional information below.
At the beginning XCode didn't find the WebSocket class, after fuddling around 
with the search paths I now got the error above.

Original issue reported on code.google.com by kon...@gmx.at on 13 Dec 2011 at 1:25

GoogleCodeExporter commented 8 years ago
OK I fixed it now by adding the "CFNetwork" framework to the test target after 
I had already added it to the framework folder to the left.

Original comment by kon...@gmx.at on 13 Dec 2011 at 1:52

GoogleCodeExporter commented 8 years ago
I'm glad you got your issue fixed! :)  I will mark as invalid.

Original comment by joshuadmorris@gmail.com on 14 Dec 2011 at 4:05

GoogleCodeExporter commented 8 years ago
Better to write dependencies in the wiki.

Original comment by zir.e...@gmail.com on 30 Dec 2011 at 7:52