部署应用程序物理 iPad 设备时出现 Mac Xcode 构建失败问题
我使用的是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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
选择您的项目图标,转到构建设置,在架构选项中,为您提供有效的配置(调试/发布),单击“+”按钮,然后添加“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: