Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SocketRocket After trying to install socketrocket so that I can make PonyDebugger work, I'm getting 3 Apple Match-O linker errors

I'm getting the fllowing. It's my first time trying to install this and I have to since I need the Pony Debugger working.

Undefined symbols for architecture i386:
  "_utf8_countTrailBytes", referenced from:
      _validate_dispatch_data_partial_string in libSocketRocket.a(SRWebSocket.o)
  "_utf8_nextCharSafeBody", referenced from:
      _validate_dispatch_data_partial_string in libSocketRocket.a(SRWebSocket.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Any advice is very much appreciated!

Thanks!

EDIT: I added the SocketRocket.Framework to the build Phases and the errors are gone but is now giving me a new one.

/Library/Developer/Xcode/DerivedData/ProjectIpaws-fxtqgpqcnolfqvgaeikbuxwzdbcv/Build/Products/Debug-iphonesimulator/SocketRocket/SocketRocket

The new one doesn't make sense at all.

like image 352
gdubs Avatar asked Jun 03 '13 04:06

gdubs


1 Answers

Your app must be linked against the following frameworks:

  • libicucore.dylib
  • CFNetwork.framework
  • Security.framework
  • Foundation.framework
like image 161
Adam Waite Avatar answered Oct 06 '22 03:10

Adam Waite