终端进入项目目录 执行release_libs.sh 获取不到WFChatClient和WFChatUIKit动态库

lihao 2022-10-13 460

Undefined symbols for architecture arm64: "_objc_msgSend$localWiFiStatusForFlags:", referenced from: -[MarsReachability currentReachabilityStatus] in mars.a(Reachability.o) "_objc_msgSend$handleFailureInMethod:object:file:lineNumber:description:", referenced from: -[MarsReachability connectionRequired] in mars.a(Reachability.o) -[MarsReachability currentReachabilityStatus] in mars.a(Reachability.o) "_objc_msgSend$reachabilityForInternetConnection", referenced from: +[MarsReachability getCacheReachabilityStatus:] in mars.a(Reachability.o) GLOBALsub_I_Reachability.mm in mars.a(Reachability.o) "_objc_msgSend$drain", referenced from: Scope_AutoReleasePool::~Scope_AutoReleasePool() in mars.a(scope_autoreleasepool.o) "_objc_msgSend$reachabilityWithAddress:", referenced from: +[MarsReachability reachabilityForInternetConnection] in mars.a(Reachability.o) +[MarsReachability reachabilityForLocalWiFi] in mars.a(Reachability.o) "_objc_msgSend$MarsstopNotifier", referenced from: -[MarsReachability dealloc] in mars.a(Reachability.o) "_objc_msgSend$networkStatusForFlags:", referenced from: -[MarsReachability currentReachabilityStatus] in mars.a(Reachability.o) "_objc_msgSend$isKindOfClass:", referenced from: ReachabilityCallback(SCNetworkReachability const, unsigned int, void) in mars.a(Reachability.o) "_objc_msgSend$currentReachabilityStatus", referenced from: ReachabilityCallback(SCNetworkReachability const, unsigned int, void) in mars.a(Reachability.o) +[MarsReachability reachabilityForInternetConnection] in mars.a(Reachability.o) +[MarsReachability getCacheReachabilityStatus:] in mars.a(Reachability.o) GLOBALsub_I_Reachability.mm in mars.a(Reachability.o) "_objc_msgSend$postNotificationName:object:", referenced from: ReachabilityCallback(SCNetworkReachability const, unsigned int, void) in mars.a(Reachability.o) "_objc_msgSend$fileExistsAtPath:", referenced from: setAttrProtectionNone(char const*) in mars.a(data_protect_attr.o) "_objc_msgSend$currentHandler", referenced from: ReachabilityCallback(SCNetworkReachability const, unsigned int, void) in mars.a(Reachability.o) -[MarsReachability connectionRequired] in mars.a(Reachability.o) -[MarsReachability currentReachabilityStatus] in mars.a(Reachability.o) "_objc_msgSend$dictionaryWithObject:forKey:", referenced from: setAttrProtectionNone(char const) in mars.a(data_protect_attr.o) "_objc_msgSend$defaultManager", referenced from: setAttrProtectionNone(char const) in mars.a(data_protect_attr.o) "_objc_msgSend$MarsstartNotifier", referenced from: GLOBALsub_I_Reachability.mm in mars.a(Reachability.o) "_objc_msgSend$currentThread", referenced from: _xlogger_tid in mars.a(xlogger_threadinfo.o) "_objc_msgSend$valueForKey:", referenced from: setAttrProtectionNone(char const) in mars.a(data_protect_attr.o) "_objc_msgSend$floatValue", referenced from: publiccomponent_GetSystemVersion() in mars.a(platform_comm.o) getCurRadioAccessNetworkInfo(RadioAccessNetworkInfo&) in mars.a(platform_comm.o) "_objc_msgSend$currentDevice", referenced from: getCurRadioAccessNetworkInfo(RadioAccessNetworkInfo&) in mars.a(platform_comm.o) "_objc_msgSend$currentRadioAccessTechnology", referenced from: getCurRadioAccessNetworkInfo(RadioAccessNetworkInfo&) in mars.a(platform_comm.o) "_objc_msgSend$attributesOfItemAtPath:error:", referenced from: setAttrProtectionNone(char const) in mars.a(data_protect_attr.o) "_objc_msgSend$subscriberCellularProvider", referenced from: getCurSIMInfo(SIMInfo&) in mars.a(platform_comm.o) "_objc_msgSend$objectForKeyedSubscript:", referenced from: getCurWifiInfo(WifiInfo&, bool) in mars.a(platform_comm.o) "_objc_msgSend$stringWithUTF8String:", referenced from: ConsoleLog(XLoggerInfo_t const, char const) in mars.a(platform_comm.o) ReachabilityCallback(__SCNetworkReachability const, unsigned int, void) in mars.a(Reachability.o) "_objc_msgSend$countByEnumeratingWithState:objects:count:", referenced from: getCurWifiInfo(WifiInfo&, bool) in mars.a(platform_comm.o) "_objc_msgSend$UTF8String", referenced from: getCurWifiInfo(WifiInfo&, bool) in mars.a(platform_comm.o) getCurSIMInfo(SIMInfo&) in mars.a(platform_comm.o) getCurRadioAccessNetworkInfo(RadioAccessNetworkInfo&) in mars.a(platform_comm.o) +[MarsReachability reachabilityWithHostName:] in mars.a(Reachability.o) "_objc_msgSend$mobileNetworkCode", referenced from: getCurSIMInfo(SIMInfo&) in mars.a(platform_comm.o) "_objc_msgSend$class", referenced from: ReachabilityCallback(SCNetworkReachability const, unsigned int, void) in mars.a(Reachability.o) "_objc_msgSend$setAttributes:ofItemAtPath:error:", referenced from: setAttrProtectionNone(char const*) in mars.a(data_protect_attr.o) "_objc_msgSend$handleFailureInFunction:file:lineNumber:description:", referenced from: ReachabilityCallback(SCNetworkReachability const, unsigned int, void) in mars.a(Reachability.o) "_objc_msgSend$objectForKey:", referenced from: publiccomponent_GetSystemVersion() in mars.a(platform_comm.o) getCurWifiInfo(WifiInfo&, bool) in mars.a(platform_comm.o) "_objc_msgSend$count", referenced from: getCurWifiInfo(WifiInfo&, bool) in mars.a(platform_comm.o) "_objc_msgSend$defaultCenter", referenced from: ReachabilityCallback(SCNetworkReachability const, unsigned int, void) in mars.a(Reachability.o) "_objc_msgSend$isEqualToString:", referenced from: setAttrProtectionNone(char const) in mars.a(data_protect_attr.o) "_objc_msgSend$initWithUTF8String:", referenced from: setAttrProtectionNone(char const) in mars.a(data_protect_attr.o) "_objc_msgSend$init", referenced from: getCurSIMInfo(SIMInfo&) in mars.a(platform_comm.o) getCurRadioAccessNetworkInfo(RadioAccessNetworkInfo&) in mars.a(platform_comm.o) ReachabilityCallback(SCNetworkReachability const, unsigned int, void) in mars.a(Reachability.o) +[MarsReachability reachabilityWithHostName:] in mars.a(Reachability.o) +[MarsReachability reachabilityWithAddress:] in mars.a(Reachability.o) Scope_AutoReleasePool::Scope_AutoReleasePool() in mars.a(scope_autoreleasepool.o) "_objc_msgSend$systemVersion", referenced from: getCurRadioAccessNetworkInfo(RadioAccessNetworkInfo&) in mars.a(platform_comm.o) "_objc_msgSend$mainThread", referenced from: _xlogger_maintid in mars.a(xlogger_threadinfo.o) "_objc_msgSend$mobileCountryCode", referenced from: getCurSIMInfo(SIMInfo&) in mars.a(platform_comm.o) "_objc_msgSend$dictionaryWithContentsOfFile:", referenced from: publiccomponent_GetSystemVersion() in mars.a(platform_comm.o) "_objc_msgSend$getCacheReachabilityStatus:", referenced from: FlushReachability() in mars.a(platform_comm.o) getNetInfo() in mars.a(platform_comm.o) isNetworkConnected() in mars.a(platform_comm.o) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

BUILD FAILED

The following build commands failed: Ld /Users/lihao/Desktop/ios-chat-master/build/Release-iphoneos/WFChatClient.framework/WFChatClient normal (in target 'WFChatClient' from project 'WFChatClient') (1 failure) 2022-10-13 11:05:39.282 xcodebuild[22209:509867] [MT] PluginLoading: Required plug-in compatibility UUID 8BAA96B4-5225-471B-B124-D32A349B8106 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin' not present in DVTPlugInCompatibilityUUIDs Command line invocation: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -target WFChatClient ONLY_ACTIVE_ARCH=NO -configuration Release -sdk iphonesimulator BUILD_DIR=/Users/lihao/Desktop/ios-chat-master/build build

User defaults from command line: IDEPackageSupportUseBuiltinSCM = YES

Build settings from command line: BUILD_DIR = /Users/lihao/Desktop/ios-chat-master/build ONLY_ACTIVE_ARCH = NO SDKROOT = iphonesimulator15.0

note: Using new build system note: Planning Analyze workspace

CompileC /Users/lihao/Desktop/ios-chat-master/wfuikit/build/WFChatUIKit.build/Release-iphonesimulator/WFChatUIKit.build/Objects-normal/x86_64/WFZConferenceInfoViewController.o /Users/lihao/Desktop/ios-chat-master/wfuikit/WFChatUIKit/Voip/Conference/Zoom/WFZConferenceInfoViewController.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'WFChatUIKit' from project 'WFChatUIKit') cd /Users/lihao/Desktop/ios-chat-master/wfuikit export LANG\=en_US.US-ASCII /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target x86_64-apple-ios8.0-simulator -fmessage-length\=80 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -std\=gnu11 -fobjc-arc -fobjc-weak -fmodules -gmodules -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/var/folders/2y/0mpdmpls4tqcf90c6pwv2vq00000gn/C/org.llvm.clang/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -fmodule-name\=WFChatUIKit -Wno-trigraphs -fpascal-strings -Os -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror\=return-type -Wdocumentation -Wunreachable-code -Wno-implicit-atomic-properties -Werror\=deprecated-objc-isa-usage -Wno-objc-interface-ivars -Werror\=objc-root-class -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -DNS_BLOCK_ASSERTIONS\=1 -DOBJC_OLD_DISPATCH_PROTOTYPES\=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -Wunguarded-availability -fobjc-abi-version\=2 -fobjc-legacy-dispatch -iquote /Users/lihao/Desktop/ios-chat-master/wfuikit/build/WFChatUIKit.build/Release-iphonesimulator/WFChatUIKit.build/WFChatUIKit-generated-files.hmap -I/Users/lihao/Desktop/ios-chat-master/wfuikit/build/WFChatUIKit.build/Release-iphonesimulator/WFChatUIKit.build/WFChatUIKit-own-target-headers.hmap -I/Users/lihao/Desktop/ios-chat-master/wfuikit/build/WFChatUIKit.build/Release-iphonesimulator/WFChatUIKit.build/WFChatUIKit-all-non-framework-target-headers.hmap -ivfsoverlay /Users/lihao/Desktop/ios-chat-master/wfuikit/build/WFChatUIKit.build/Release-iphonesimulator/WFChatUIKit.build/all-product-headers.yaml -iquote /Users/lihao/Desktop/ios-chat-master/wfuikit/build/WFChatUIKit.build/Release-iphonesimulator/WFChatUIKit.build/WFChatUIKit-project-headers.hmap -I/Users/lihao/Desktop/ios-chat-master/build/Release-iphonesimulator/include -I/Users/lihao/Desktop/ios-chat-master/wfuikit/build/WFChatUIKit.build/Release-iphonesimulator/WFChatUIKit.build/DerivedSources-normal/x86_64 -I/Users/lihao/Desktop/ios-chat-master/wfuikit/build/WFChatUIKit.build/Release-iphonesimulator/WFChatUIKit.build/DerivedSources/x86_64 -I/Users/lihao/Desktop/ios-chat-master/wfuikit/build/WFChatUIKit.build/Release-iphonesimulator/WFChatUIKit.build/DerivedSources -F/Users/lihao/Desktop/ios-chat-master/build/Release-iphonesimulator -include /Users/lihao/Desktop/ios-chat-master/wfuikit/build/SharedPrecompiledHeaders/SharedPrecompiledHeaders/8702835465830486228/Predefine.h -MMD -MT dependencies -MF /Users/lihao/Desktop/ios-chat-master/wfuikit/build/WFChatUIKit.build/Release-iphonesimulator/WFChatUIKit.build/Objects-normal/x86_64/WFZConferenceInfoViewController.d --serialize-diagnostics /Users/lihao/Desktop/ios-chat-master/wfuikit/build/WFChatUIKit.build/Release-iphonesimulator/WFChatUIKit.build/Objects-normal/x86_64/WFZConferenceInfoViewController.dia -c /Users/lihao/Desktop/ios-chat-master/wfuikit/WFChatUIKit/Voip/Conference/Zoom/WFZConferenceInfoViewController.m -o /Users/lihao/Desktop/ios-chat-master/wfuikit/build/WFChatUIKit.build/Release-iphonesimulator/WFChatUIKit.build/Objects-normal/x86_64/WFZConferenceInfoViewController.o /Users/lihao/Desktop/ios-chat-master/wfuikit/WFChatUIKit/Voip/Conference/Zoom/WFZConferenceInfoViewController.m:10:9: fatal error: 'WFChatClient/WFCChatClient.h' file not found

import <WFChatClient/WFCChatClient.h>

    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/Users/lihao/Desktop/ios-chat-master/wfuikit/WFChatUIKit/Voip/Conference/Zoom/WFZConferenceInfoViewController.m:10:9: note: did not find header 'WFCChatClient.h' in framework 'WFChatClient' (loaded from '/Users/lihao/Desktop/ios-chat-master/build/Release-iphonesimulator')

CompileC /Users/lihao/Desktop/ios-chat-master/wfuikit/build/WFChatUIKit.build/Release-iphonesimulator/WFChatUIKit.build/Objects-normal/x86_64/WFZConferenceInfo.o /Users/lihao/Desktop/ios-chat-master/wfuikit/WFChatUIKit/Voip/Conference/Model/WFZConferenceInfo.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'WFChatUIKit' from project 'WFChatUIKit') cd /Users/lihao/Desktop/ios-chat-master/wfuikit export LANG\=en_US.US-ASCII /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target x86_64-apple-ios8.0-simulator -fmessage-length\=80 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -std\=gnu11 -fobjc-arc -fobjc-weak -fmodules -gmodules -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/var/folders/2y/0mpdmpls4tqcf90c6pwv2vq00000gn/C/org.llvm.clang/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -fmodule-name\=WFChatUIKit -Wno-trigraphs -fpascal-strings -Os -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror\=return-type -Wdocumentation -Wunreachable-code -Wno-implicit-atomic-properties -Werror\=deprecated-objc-isa-usage -Wno-objc-interface-ivars -Werror\=objc-root-class -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -DNS_BLOCK_ASSERTIONS\=1 -DOBJC_OLD_DISPATCH_PROTOTYPES\=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -Wunguarded-availability -fobjc-abi-version\=2 -fobjc-legacy-dispatch -iquote /Users/lihao/Desktop/ios-chat-master/wfuikit/build/WFChatUIKit.build/Release-iphonesimulator/WFChatUIKit.build/WFChatUIKit-generated-files.hmap -I/Users/lihao/Desktop/ios-chat-master/wfuikit/build/WFChatUIKit.build/Release-iphonesimulator/WFChatUIKit.build/WFChatUIKit-own-target-headers.hmap -I/Users/lihao/Desktop/ios-chat-master/wfuikit/build/WFChatUIKit.build/Release-iphonesimulator/WFChatUIKit.build/WFChatUIKit-all-non-framework-target-headers.hmap -ivfsoverlay /Users/lihao/Desktop/ios-chat-master/wfuikit/build/WFChatUIKit.build/Release-iphonesimulator/WFChatUIKit.build/all-product-headers.yaml -iquote /Users/lihao/Desktop/ios-chat-master/wfuikit/build/WFChatUIKit.build/Release-iphonesimulator/WFChatUIKit.build/WFChatUIKit-project-headers.hmap -I/Users/lihao/Desktop/ios-chat-master/build/Release-iphonesimulator/include -I/Users/lihao/Desktop/ios-chat-master/wfuikit/build/WFChatUIKit.build/Release-iphonesimulator/WFChatUIKit.build/DerivedSources-normal/x86_64 -I/Users/lihao/Desktop/ios-chat-master/wfuikit/build/WFChatUIKit.build/Release-iphonesimulator/WFChatUIKit.build/DerivedSources/x86_64 -I/Users/lihao/Desktop/ios-chat-master/wfuikit/build/WFChatUIKit.build/Release-iphonesimulator/WFChatUIKit.build/DerivedSources -F/Users/lihao/Desktop/ios-chat-master/build/Release-iphonesimulator -include /Users/lihao/Desktop/ios-chat-master/wfuikit/build/SharedPrecompiledHeaders/SharedPrecompiledHeaders/8702835465830486228/Predefine.h -MMD -MT dependencies -MF /Users/lihao/Desktop/ios-chat-master/wfuikit/build/WFChatUIKit.build/Release-iphonesimulator/WFChatUIKit.build/Objects-normal/x86_64/WFZConferenceInfo.d --serialize-diagnostics /Users/lihao/Desktop/ios-chat-master/wfuikit/build/WFChatUIKit.build/Release-iphonesimulator/WFChatUIKit.build/Objects-normal/x86_64/WFZConferenceInfo.dia -c /Users/lihao/Desktop/ios-chat-master/wfuikit/WFChatUIKit/Voip/Conference/Model/WFZConferenceInfo.m -o /Users/lihao/Desktop/ios-chat-master/wfuikit/build/WFChatUIKit.build/Release-iphonesimulator/WFChatUIKit.build/Objects-normal/x86_64/WFZConferenceInfo.o /Users/lihao/Desktop/ios-chat-master/wfuikit/WFChatUIKit/Voip/Conference/Model/WFZConferenceInfo.m:19:14: warning: null passed to a callee that requires a non-null argument [-Wnonnull] info.password = nil; ^ ~~~

BUILD FAILED

The following build commands failed: CompileC /Users/lihao/Desktop/ios-chat-master/wfuikit/build/WFChatUIKit.build/Release-iphonesimulator/WFChatUIKit.build/Objects-normal/x86_64/WFZStartConferenceViewController.o /Users/lihao/Desktop/ios-chat-master/wfuikit/WFChatUIKit/Voip/Conference/Zoom/WFZStartConferenceViewController.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'WFChatUIKit' from project 'WFChatUIKit') CompileC /Users/lihao/Desktop/ios-chat-master/wfuikit/build/WFChatUIKit.build/Release-iphonesimulator/WFChatUIKit.build/Objects-normal/x86_64/WFZHomeViewController.o /Users/lihao/Desktop/ios-chat-master/wfuikit/WFChatUIKit/Voip/Conference/Zoom/WFZHomeViewController.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'WFChatUIKit' from project 'WFChatUIKit') (2 failures) 2022-10-13 11:06:09.272 xcodebuild[22920:511975] [MT] PluginLoading: Required plug-in compatibility UUID 8BAA96B4-5225-471B-B124-D32A349B8106 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin' not present in DVTPlugInCompatibilityUUIDs error: unable to read the file at '/Users/lihao/Desktop/ios-chat-master/build/Release-iphoneos/WFChatClient.framework/WFChatClient' 2022-10-13 11:06:10.131 xcodebuild[22922:512142] [MT] PluginLoading: Required plug-in compatibility UUID 8BAA96B4-5225-471B-B124-D32A349B8106 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin' not present in DVTPlugInCompatibilityUUIDs error: unable to read the file at '/Users/lihao/Desktop/ios-chat-master/build/Release-iphoneos/WFChatUIKit.framework/WFChatUIKit'

最新回复 (2)
  • HeavyRain 2022-10-13
    引用 2
    请用最新代码和最新XCode进行验证,如果最新代码+最新XCode还是无法编译成功,请把全部的编译日志放到文件中发邮件给support@wildfirechat.cn 
  • lihao 2022-10-13
    引用 3
    HeavyRain 请用最新代码和最新XCode进行验证,如果最新代码+最新XCode还是无法编译成功,请把全部的编译日志放到文件中发邮件给support@wildfirechat.cn
    已经发送到这个邮箱了 麻烦帮忙看一下  谢谢
返回