无法构建模块Darwin - arm64问题 [英] Could not build module Darwin - arm64 issues

查看:940
本文介绍了无法构建模块Darwin - arm64问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发了我的第一个XCode5 ONLY应用程序,它非常类似于我在4.6上完成的应用程序。它在模拟器和我的iPhone 4,4S和5以及我的2台iPad上运行完美。
但是,当我尝试验证它是否提交到App Store时,我得到一堆与arm64相关的错误需要7.0.0或更高版本。我将部署目标设置为6.1,当我在Xcode 5中运行我之前在4.6中启动的应用程序时,这不会发生。
如果我将部署目标更改为7.0,那么一切正常。
这里发生了什么?我需要更改什么才能在6.1上进行验证?
谢谢。

I developed my first XCode5 ONLY app which is very similar to the apps I have done on 4.6. It runs perfectly OK in the simulator and on my iPhone 4, 4S and 5, as well as my 2 iPads. However, when I try to validate it for submission to the App Store, I get a whole stack of errors relating to arm64 requires 7.0.0 or later. I have the deployment target set to 6.1 and this does not happen when I run my previous apps in Xcode 5 that had been started in 4.6. If I change the deployment target to 7.0 then everything is OK. What is happening here? What do I need to change to get it to validate on 6.1? Thanks.

编辑:好的,我将构建设置中的架构更改为标准(armv7,armv7s),删除了arm64,一切正常。这是正确的做法吗?据推测它仍将在iPhone 5S上运行,但不在64位运行。正确吗?

OK, I changed the Architectures in Build Settings to Standard (armv7, armv7s) removing arm64, and everything was OK. Was that the right thing to do? Presumably it will still run on the iPhone 5S, but not in 64-bit. Correct?

推荐答案

你还不能提交64位并仍然支持iOS 6.你将能够但是,下个月。

You can't yet submit 64-bit and still support iOS 6. You will be able to next month, however.

请参阅 https:/ /developer.apple.com/news/index.php?id=9162013a

编辑:是的,如果你有armv7和armv7s,虽然在32位模式下,你仍然可以在iPhone 5s上运行。我建议现在提交armv7 / armv7s,并在下个月添加arm64。

Yes, if you have armv7 and armv7s, you will still run on the iPhone 5s, although in 32-bit mode. I'd recommend submitting with armv7/armv7s now, and adding in arm64 next month.

2013年11月1日更新:

Update November 1, 2013:

根据2013-10-22版 Cocoa Touch的64位过渡指南,您现在可以使用Xcode 5.0.1生成包含64位和32位体系结构的二进制文件,并在较旧的iOS版本上运行。

According to the 2013-10-22 version of the 64-bit Transition Guide for Cocoa Touch, you can now use Xcode 5.0.1 to generate a binary that includes 64-bit and 32-bit architectures, and runs on older iOS versions.


  • 您需要使用Xcode 5.0.1

  • 64位版本只能在64位上运行运行iOS 7.0.3 +的设备

  • 32位版本只能在运行iOS 5.1.1的设备上运行

  • 运行64位设备iOS 7.0.0-7.0.2将使用32位切片

  • You need to use Xcode 5.0.1
  • The 64-bit version can only run on 64-bit devices running iOS 7.0.3+
  • The 32-bit version can only run on devices running iOS 5.1.1+
  • 64-bit devices running iOS 7.0.0-7.0.2 will use the 32-bit slice

这篇关于无法构建模块Darwin - arm64问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆