简体   繁体   English

xcode显示错误的体系结构arm64未定义符号:

[英]xcode shows the error Undefined symbols for architecture arm64:

When i run a unity game in xcode i got the following error 当我在xcode中运行统一游戏时,出现以下错误

"UnityPause(bool)", referenced from:
  -[EtceteraManager showViewControllerModallyInWrapper:] in    EtceteraManager.o
  -[EtceteraManager dismissWrappedController] in EtceteraManager.o
  -[EtceteraManager showAlertWithTitle:message:buttons:] in EtceteraManager.o
  -[EtceteraManager showPromptWithTitle:message:placeHolder:autocorrect:] in EtceteraManager.o
  -[EtceteraManager showPromptWithTitle:message:placeHolder1:placeHolder2:autocorrect:] in  EtceteraManager.o
  -[EtceteraManager showWebControllerWithUrl:showingControls:] in  EtceteraManager.o
  -[EtceteraManager popoverControllerDidDismissPopover:] in      EtceteraManager.o

ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) How can i solve this error? ld:找不到体系结构arm64的符号clang:错误:链接器命令失败,退出代码为1(使用-v查看调用)如何解决此错误?

Please check whether library containing EtceteraManager class is linked with your project. 请检查包含EtceteraManager类的库是否与您的项目链接。 If yes then check for architecture of library using file command on terminal. 如果是,则在终端上使用文件命令检查库的体系结构。

file $PATH_TO_LIB

The architecture should be same as on project's architecture settings. 体系结构应与项目的体系结构设置相同。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM