二进制文件无效。符号链接解析为不存在的文件。如何在 iPhone 上修复此问题
我在将应用程序提交到应用程序商店时遇到此错误
二进制文件无效。符号链接解析为不存在的文件。 相对位置:hello.app/HMAC.3
我有一个 OpenSSL 文件夹,现在如何设置相对路径以便链接所有子文件夹?
现在我正在做
“标题搜索路径”OpenSSL “库搜索路径”“$(SRCROOT)”
i am getting this error while submitting app to app store
The binary is invalid. A symbolic link resolves to a file that doesn't exist.
Relative location:hello.app/HMAC.3
I have a OpenSSL folder , now how to set the relative path so that all subfolder is linked ??
right now i am doing
"Header search path" OpenSSL
"library search path" "$(SRCROOT)"
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
确实,看起来像是链接器问题。
您显然正在链接到一个框架/库。
该库中的标头对于编译器很重要,因此您的代码可以使用这些标头中的所有宏/常量/typedef/类进行编译。
但这只是编译步骤。最终的二进制文件还需要与库链接。
检查项目的构建设置。如果您需要一个库/框架,仅导入标头是不够的。您还需要链接到库/框架。构建设置->构建阶段->将二进制文件与库链接。
Seems like a linker problem, indeed.
You are obviously linking to a framework/library.
Headers from that library are important for the compiler, so your code can compile, with all the macros/constants/typedefs/classes from those headers.¨
But that's only the compilation step. You final binary also need to be linked with the library.
Checks your project's build settings. If you need a library/framework, importing the headers is not enough. You'll also need to link with the library/framework. Build Settings->Build Phases->Link Binary With Libraries.