文件中缺少所需的架构臂

发布于 2024-07-25 01:02:14 字数 269 浏览 4 评论 0原文

当我编译我的应用程序时,我收到一条错误消息,指出

/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/CFNetwork, missing required architecture arm in file.

我已经检查了所有框架,并且它们都指向 iPhone 3.0 SDK 框架...

我在这里缺少什么?

When I compile my application, I get an error stating that

/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/CFNetwork, missing required architecture arm in file.

I have checked all the frameworks, and they all point to the iPhone 3.0 SDK Frameworks...

What am I missing here?

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

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

发布评论

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

评论(2

无人接听 2024-08-01 01:02:14

好的,所以我终于解决了这个问题。 解决方案是将“框架搜索路径”和“库搜索路径”设置为“/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/System/Frameworks/CFNetwork.framework”

我删除了另一个价值观已经存在并且似乎有效。 我正在使用更多框架,但只有 CFNetwork 似乎有问题(到目前为止:))。

希望这可以帮助!

Ok, so I finally solved the problem. The solution was to set the "Framework Search Paths" and "Library Search Paths" to "/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/System/Frameworks/CFNetwork.framework"

I removed the other values that were there and it seems to work. I am using more frameworks but only CFNetwork seems to be problematic (until now :) ).

Hope this helps!

拥抱我好吗 2024-08-01 01:02:14

该路径指向您的 Mac 框架之一,该框架不应位于您的 iPhone 应用程序附近。

转到项目侧栏中的“目标”,然后检查“将二进制文件与库链接”下列出的内容。 它们都不应该指向 SDK 框架之外的任何其他地方。 如果您没有发现任何问题,请查看“构建结果”面板,最好是在执行“清理”之后。 这应该会给你一些关于正在发生的事情的线索。

That path is to one of your Mac's frameworks, which shouldn't be anywhere near your iPhone app.

Go to Targets in your Project's sidebar and check what's listed under "Link Binary with Libraries". None of them should point anywhere else but the SDK frameworks. If you don't find anything wrong there, have a look in the Build Results panel, preferably after doing a Clean. That should give you some clues as to what's happening.

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