简体   繁体   English

无法为armv7进行编译,此处有效的体系结构为armv6,armv7和i386

[英]Cannot compile for armv7s here valid architectures are armv6, armv7 and i386

I tried debugging my ios 6.1 project on the new iPad 4 (A6X, armv7s instruction set). 我尝试在新的iPad 4(A6X,armv7s指令集)上调试ios 6.1项目。 However the build failed with 但是构建失败

No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=armv7s, VALID_ARCHS=armv6 armv7 i386).

I'm using XCode5-DP6. 我正在使用XCode5-DP6。 App debugs on the latest iPod touch (armv7) and on both iPad and iPhone simulators (both iOS 6.1 and 7.0). 应用程序可在最新的iPod touch(armv7)以及iPad和iPhone模拟器(iOS 6.1和7.0)上进行调试。

It was my understanding that code built for arm7 should build and run on arm7s, since apps between iPad3 and iPad4 are the same? 我的理解是,因为iPad3和iPad4之间的应用程序相同,所以为arm7构建的代码应该在arm7s上构建并运行。 Any clue what I'm doing wrong? 任何线索我在做什么错?

The last product I know of with armv6 is iPhone 3G, even iPhone 3GS is with armv7. 我知道的关于armv6的最后一个产品是iPhone 3G,甚至iPhone 3GS也带有armv7。 Apple has removed the support for armv6 in a way you cannot compile to that processor architecture and even if you would successfully compile you would have a problem submitting the app to Apple (the build won't be accepted automatically). Apple已经以无法编译到该处理器体系结构的方式删除了对armv6的支持,即使您可以成功编译,也无法将应用程序提交给Apple(该构建不会自动被接受)。 Moreover, You cannot compile to an OS below 4.3 (it would give you errors also) so there are some restrictions - I'm saying that because I think old devices also can't support new OS. 而且,您不能编译到低于4.3的操作系统(这也会给您带来错误),因此存在一些限制-我之所以这样说是因为我认为旧设备也不能支持新的操作系统。 So, it is just a matter of days that there won't be any old iPhone with an OS you can support with Apple's platform. 因此,几天之内就不会有任何旧的iPhone拥有可以在Apple平台上支持的操作系统。

So, my recommendation is to change the build and valid architectures to armv7, armv7s & i386 (if you need it). 因此,我的建议是将构建和有效架构更改为armv7,armv7s和i386(如果需要)。

This shall work and you really don't have a choice. 这将起作用,您真的别无选择。 you should know that most users doesn't own those old devices. 您应该知道大多数用户都不拥有那些旧设备。 If you still want to support those maybe you should consider add a new app specific for "new" devices, but know that you couldn't update the old version because of what explained earlier. 如果您仍然想支持这些应用程序,也许应该考虑添加一个专门针对“新”设备的新应用程序,但要知道,由于前面所述,您无法更新旧版本。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 检查依赖项...没有要编译的体系结构(ARCHS = i386,VALID_ARCHS = arm64 armv7s armv7) - Check dependencies… No architectures to compile for (ARCHS=i386, VALID_ARCHS=arm64 armv7s armv7) 没有要编译的架构(ARCHS = i386,VALID_ARCHS = arm64 armv7 armv7s) - No architectures to compile for (ARCHS=i386, VALID_ARCHS=arm64 armv7 armv7s) 没有要编译的架构(ARCHS = armv7,armv7s,VALID_ARCHS = armv7 armv7s) - No architectures to compile for (ARCHS=armv7,armv7s, VALID_ARCHS=armv7 armv7s) 没有要编译的体系结构(ONLY_ACTIVE_ARCH = YES,活动arch = armv7,VALID_ARCHS = armv6 i386) - No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=armv7, VALID_ARCHS=armv6 i386) $(ARCHS_STANDARD_32_BIT)vs. armv6,armv7 / armv7s vs. i386 - $(ARCHS_STANDARD_32_BIT) vs. armv6, armv7/armv7s vs. i386 如何将libmms编译为适用于iPhone设备和模拟器的胖静态库(armv6,armv7和i386) - How to compile libmms to a fat static library for iPhone device and simulator(armv6,armv7 and i386) 为armv7,armv7s,arm64,i386和通用构建ffmpeg iOS库 - Building ffmpeg iOS libraries for armv7, armv7s, arm64, i386 and universal 在Mac 10.8上安装ffmpeg ios库armv7,armv7s,i386和Universal - Installing ffmpeg ios libraries armv7, armv7s, i386 and universal on Mac with 10.8 没有要编译的架构 (ARCHS=, VALID_ARCHS=armv7 armv7s) - No architectures to compile for (ARCHS=, VALID_ARCHS=armv7 armv7s) 具有i386 x86_64 armv7 armv7s arm64的通用IOS静态库 - universal IOS static library with i386 x86_64 armv7 armv7s arm64
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM