ios 项目下载下来 无法编译通过

Coconut 25天前 62

按照提示,按照 client-》uikit-》chat 的顺序编译就可以运行,但是编译client就已经报错了。求助怎么解决呢?

Ld /Users/Downloads/ios-chat-master/wfclient/build/Debug-iphonesimulator/WFChatClient.framework/WFChatClient normal x86_64 (in target 'WFChatClient' from project 'WFChatClient')

    cd /Users/Downloads/ios-chat-master/wfclient

    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -target x86_64-apple-ios8.0-simulator -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk -L/Users/Downloads/ios-chat-master/wfclient/build/Debug-iphonesimulator -L/Users/Downloads/ios-chat-master/wfclient/WFChatClient/amr -L/Users/Downloads/ios-chat-master/wfclient -F/Users/Downloads/ios-chat-master/wfclient/build/Debug-iphonesimulator -F/Users/Downloads/ios-chat-master/wfclient/WFChatClient/Frameworks -F/Users/Downloads/ios-chat-master/wfclient/Frameworks -F/Users/Downloads/ios-chat-master/wfclient/WFChatClient/Proto -filelist /Users/Downloads/ios-chat-master/wfclient/build/WFChatClient.build/Debug-iphonesimulator/WFChatClient.build/Objects-normal/x86_64/WFChatClient.LinkFileList -install_name @rpath/WFChatClient.framework/WFChatClient -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/Downloads/ios-chat-master/wfclient/build/WFChatClient.build/Debug-iphonesimulator/WFChatClient.build/Objects-normal/x86_64/WFChatClient_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -stdlib=libc++ -fobjc-arc -fobjc-link-runtime -framework mars -lz -lc++ -lresolv -framework CoreTelephony -lopencore-amrnb -compatibility_version 1 -current_version 1 -Xlinker -dependency_info -Xlinker /Users/Downloads/ios-chat-master/wfclient/build/WFChatClient.build/Debug-iphonesimulator/WFChatClient.build/Objects-normal/x86_64/WFChatClient_dependency_info.dat -o /Users/Downloads/ios-chat-master/wfclient/build/Debug-iphonesimulator/WFChatClient.framework/WFChatClient

ld: warning: directory not found for option '-F/Users/Downloads/ios-chat-master/wfclient/WFChatClient/Frameworks'

ld: warning: directory not found for option '-F/Users/Downloads/ios-chat-master/wfclient/Frameworks'

Undefined symbols for architecture x86_64:

  "___darwin_check_fd_set_overflow", referenced from:

      socket_gethostbyname(char const, socket_ipinfo_t, int, char const, NetCheckTrafficMonitor) in mars(dnsquery.o)

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

最新回复 (1)
  • HeavyRain 25天前
    引用 2
    最新的xcode版本是11.5,请确认是不是最新的版本
返回