我正在使用由google提供的tesseract。在遵循this教程后,我终于完成了我的应用程序。但是,当我运行它时,我遇到了未定义符号的问题。这是错误使用Tesseract时架构x86_64的未定义符号
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_G8Tesseract", referenced from:
objc-class-ref in ViewController.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并更新它。然后,我遇到这个错误
clang: error: no such file or directory: '/Users/admin/Desktop/tst/Pods/Target Support Files/Pods-tst/Pods-tst-dummy.m'
clang: error: no input files
,当我试图重做项目中,我得到了自己的错误
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_G8Tesseract", referenced from:
objc-class-ref in ViewController.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
你有一些问题:豆荚-TST-dummy.m请查看本福斯特。 –
您最近对您的项目所做的更改是什么? –
我找不到我的Pods-tst-dummy.m。你最近的变化是什么意思。我只是按照该网站的步骤 – Chandran