如何解决“找不到符号 dyld_stub_binder”的问题错误

发布于 2024-11-26 18:59:46 字数 903 浏览 2 评论 0原文

在错误消息告诉我缺少某些插件后,我在构建和运行我的应用程序时遇到问题。我用谷歌搜索了该消息并尝试将一些文件添加到我的项目中(不再确定我做了什么,只是按照说明进行操作)。然后我收到了大约 15 条警告,所以我取消了它,但应用程序仍然无法运行。第一个警告说:

ld:警告:未找到符号 dyld_stub_binder,通常在 libSystem.dylib 架构armv7的未定义符号:

我试图找到一种解决方案,并且我看到了几个与此主题接近但不相同的主题。我重新安装了 Xcode,但仍然没有成功。我尝试过其他一些项目,它们正在运行,所以我的项目发生了一些事情。

我还收到各种错误消息,例如:

“__objc_empty_vtable”,引用自:
BokbynAppDelegate.o 中的 _OBJC_METACLASS_$_BokbynAppDelegate BokbynAppDelegate.o 中的 _OBJC_CLASS_$_BokbynAppDelegate FirstViewController.o 中的_OBJC_METACLASS_$_FirstViewController FirstViewController.o 中的_OBJC_CLASS_$_FirstViewController FirstViewController.o 中的_OBJC_METACLASS_$_AdresAnnotation FirstViewController.o 中的 _OBJC_CLASS_$_AdresAnnotation _OBJC_METACLASS_$_SecondViewController 在 SecondViewController.o 中“

I'm having problem building and running my app cause after an error message told me some plugin was missing. I googled the message and tried to add some files to my project (not longer sure what I did, just followed instruction). I then got like 15 warnings, so I undid it, but the app still doesn't run. The first warning says:

ld: warning: symbol dyld_stub_binder not found, normally in
libSystem.dylib Undefined symbols for architecture armv7:

I've tried to find a solution and I've seen a couple of topics that is close to this one, but not the same. I reinstalled Xcode, and still no luck. I've tried some other projects and they are working so something has happened to my project.

I also get all kind of error messages, like:

"__objc_empty_vtable", referenced from:
_OBJC_METACLASS_$_BokbynAppDelegate in BokbynAppDelegate.o
_OBJC_CLASS_$_BokbynAppDelegate in BokbynAppDelegate.o
_OBJC_METACLASS_$_FirstViewController in FirstViewController.o
_OBJC_CLASS_$_FirstViewController in FirstViewController.o
_OBJC_METACLASS_$_AddresAnnotation in FirstViewController.o
_OBJC_CLASS_$_AddresAnnotation in FirstViewController.o
_OBJC_METACLASS_$_SecondViewController in SecondViewController.o "

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

浮萍、无处依 2024-12-03 18:59:46

将您的部署目标更改为 4.0+

change your Deployment Target to 4.0+

南城追梦 2024-12-03 18:59:46

您能给我们更多关于它是什么样的项目的背景吗?从表面上看,您认为缺少框架是正确的,因为这往往会导致链接器错误。如果没有看到任何代码,我无法告诉您您可能缺少什么框架。

此外,这些警告不应该吓到您,从第一个警告开始,然后尝试修复它们。当您找出缺少的框架时,您的代码很可能会生成警告。

你用什么语言写这个?你是使用 xcode 编译 C 还是继续使用 Objective-C?

Could you possibly give us more background on what kind of project it is? From the looks of it you were correct in thinking that you are missing a framework as that is what tends to cause the linker errors. Without seeing any code I couldn't tell you what framework you might be missing though.

Additionally, the warnings shouldn't scare you, start with the first one and go through trying to fix them. It is very possible that your code will generate warnings when you figure out your missing framework.

What language are you writing this in? Are you using xcode to compile C or are you staying with Objective-C?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文