![](/img/trans.png)
[英]Apple Mach-O Linker Error with the introduction of SocketRocket
[英]SocketRocket After trying to install socketrocket so that I can make PonyDebugger work, I'm getting 3 Apple Match-O linker errors
我正在掙扎。 這是我第一次嘗試安裝這個,因為我需要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到構建階段,錯誤消失了,但現在給我一個新的。
/Library/Developer/Xcode/DerivedData/ProjectIpaws-fxtqgpqcnolfqvgaeikbuxwzdbcv/Build/Products/Debug-iphonesimulator/SocketRocket/SocketRocket
新的根本沒有意義。
您的應用必須與以下框架相關聯:
libicucore.dylib
CFNetwork.framework
Security.framework
Foundation.framework
由於某種原因,Xcode 7中的文件擴展名已更改。 添加.tbd文件
嘗試清潔和重建。 如果沒有嘗試通過進入管理器 - >項目清除派生數據,請選擇項目並在派生數據位置旁邊刪除。
對於Xcode 9,添加
libicucore.tbd
在鏈接的框架和庫中。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.