部署应用程序物理 iPad 设备时出现 Mac Xcode 构建失败问题

发布于 2024-12-22 00:50:51 字数 399 浏览 6 评论 0原文

我使用的是Xcode 4版本,并且我已经在Xcode中部署了为iOS平台开发的SUP示例项目。

我为运行应用程序所做的所有配置。该项目在iPhone&中成功构建并运行。 iPad 模拟器。

当我尝试在注册的物理 iPad 上构建相同的内容时,出现以下错误。

[BEROR]No architectures to compile for 
   (ONLY_ACTIVE_ARCH=YES, active arch=armv7, VALID_ARCHS=armv6).

在有效的架构菜单中,我还添加了armv6和armv7。

当时也收到了一些错误消息

Apple Mach-O Linker Error

I am using Xcode 4 version, and I have deployed SUP sample project developed for iOS platform in Xcode.

All the configurations I had done for running the application. The project was successfully built and run in iPhone & iPad simulators.

When I am trying to build the same with physical iPad registered, I am getting the following error.

[BEROR]No architectures to compile for 
   (ONLY_ACTIVE_ARCH=YES, active arch=armv7, VALID_ARCHS=armv6).

In the valid architecures menu i had added armv6 and armv7 also.

And at that time also am getting a number of errors saying

Apple Mach-O Linker Error

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

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

发布评论

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

评论(1

假情假意假温柔 2024-12-29 00:50:51

选择您的项目图标,转到构建设置,在架构选项中,为您提供有效的配置(调试/发布),单击“+”按钮,然后添加“armv6”。最初它只有armv7。请参阅屏幕截图:

在此处输入图像描述

Select your project icon, go to build settings, in the architecture option, for you valid configuration (debug/release), click the '+' button, and add "armv6". Initially it has only armv7. Refer screen shot:

enter image description here

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