9

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.

gdubs
  • 2,724
  • 9
  • 55
  • 102

4 Answers4

42

Your app must be linked against the following frameworks:

  • libicucore.dylib
  • CFNetwork.framework
  • Security.framework
  • Foundation.framework
Adam Waite
  • 19,175
  • 22
  • 126
  • 148
2

The file extensions changed in Xcode 7 for some reason. Add the .tbd files

Narasimha Nallamsetty
  • 1,215
  • 14
  • 16
0

Try cleaning and re-build. If not try cleaning Derived Data by going into Organizer -> Projects, select your project and Delete next to the Derived Data location.

aniruddhc
  • 320
  • 1
  • 3
  • 15
0

For Xcode 9, add

libicucore.tbd

in Linked Frameworks and libraries.