Swift:clang:错误:链接器命令失败,退出代码为1(使用-v查看调用)

loading...


0

构建后,我收到此错误:

ld: warning: ignoring file /Users/mohammad/Library/Mobile Documents/com~apple~CloudDocs/Project/iOS/iOS-p/Pods/Quickblox-WebRTC/QuickbloxWebRTC.framework/QuickbloxWebRTC, missing required architecture x86_64 in file /Users/mohammad/Library/Mobile Documents/com~apple~CloudDocs/Project/iOS/iOS-p/Pods/Quickblox-WebRTC/QuickbloxWebRTC.framework/QuickbloxWebRTC (2 slices)
Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_QBRTCRemoteVideoView", referenced from:
      objc-class-ref in ViewControllerCall.o
      objc-class-ref in ViewControllerChat.o
  "_OBJC_CLASS_$_QBRTCBaseSession", referenced from:
      objc-class-ref in ViewControllerCall.o
  "_OBJC_CLASS_$_QBRTCCameraCapture", referenced from:
      objc-class-ref in ViewControllerCall.o
      objc-class-ref in ViewControllerChat.o
  "_OBJC_CLASS_$_QBRTCVideoFormat", referenced from:
      objc-class-ref in ViewControllerCall.o
      objc-class-ref in ViewControllerChat.o
  "_OBJC_CLASS_$_QBRTCSession", referenced from:
      objc-class-ref in ViewControllerCall.o
      objc-class-ref in ViewControllerChat.o
  "_OBJC_CLASS_$_QBRTCConfig", referenced from:
      objc-class-ref in ViewControllerCall.o
      objc-class-ref in ViewControllerChat.o
  "_OBJC_CLASS_$_QBRTCAudioSession", referenced from:
      objc-class-ref in ViewControllerCall.o
      objc-class-ref in ViewControllerChat.o
  "_OBJC_CLASS_$_QBRTCClient", referenced from:
      objc-class-ref in ViewController.o
      objc-class-ref in ViewControllerCall.o
      objc-class-ref in ViewControllerChat.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

我更新了pod,清理,删除arm和,,,但是这个错误没有删除

我的代码工作正常

pod update 之后我收到此错误

我该怎么办呢?

loading...

0回答

No Data

评论

暂时没有评论!