SocketRocket试图安装socketrocket后,我可以让PonyDebugger工作,我得到3个苹果Match-O链接器错误

我正在接受治疗。 这是我第一次尝试安装,因为我需要Pony Debugger工作。

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) 

任何意见是非常感谢!

谢谢!

编辑:我添加了SocketRocket.Framework构build阶段和错误消失,但现在给我一个新的。

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

新的没有任何意义。

您的应用必须与以下框架相链接:

  • libicucore.dylib
  • CFNetwork.framework
  • Security.framework
  • Foundation.framework

由于某种原因,Xcode 7中的文件扩展名发生了变化。 添加.tbd文件

尝试清洁和重新构build。 如果不尝试通过进入Organizer – > Projects清理Derived Data,请select您的项目,然后selectDerived Data位置旁边的Delete。

对于Xcode 9,添加

libicucore.tbd

在链接的框架和库中。