构建ios设备时出错....
ld: warning: ignoring file /Users/andre/Downloads/UnittWebSocketClient/bin/Debug-iphonesimulator/libUnittWebSocketClient.a, file was built for archive which is not the architecture being linked (armv7): /Users/andre/Downloads/UnittWebSocketClient/bin/Debug-iphonesimulator/libUnittWebSocketClient.a
架构armv7的未定义符号:“_ OBJC_CLASS _ $ _ WebSocket”,引自:ViewController.o中的objc-class-ref“_OBJC_CLASS _ $ _ WebSocketConnectConfig”,引用自:ViewController.o中的objc-class-ref ld:未找到符号对于体系结构armv7 clang:错误:链接器命令失败,退出代码为1(使用-v查看调用)
1 回答
这是我的答案 .
从此网址结帐:https://code.google.com/p/unitt/source/checkout
将[unitt \ iOS \ UnittWebSocketClient \ trunk \ UnittWebSocketClient]包含到您的项目中 . (.h,.m)
从项目中删除libUnittWebSocketClient.a lib文件 .