could not build module darwin
2015-01-20 09:11
399 查看
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.
EDIT: 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?
Edit: 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.
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.
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
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.
EDIT: 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?
Edit: 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.
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.
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
相关文章推荐
- Could not build module "Darwin"
- Could not build module 'Darwin'
- could not build module darwin
- IOS Could not build module 'foundation'
- Could not build module ‘libxmlSimu'
- Xcode编译时出现NSObjCRuntime,NSZone,NSObject以及could not build module 'Foundation'等等错误
- could not build module ‘Foundation’, could not build module ‘UIKit’……23个错误
- “could not build module UIKit”问题的解决
- iOS错误之---fatal error: could not build module 'UIKit'
- ios 编译时报 ***could not build module的解决方法
- 导入第三方框架ReactiveCocoa经常出现的问题 如出现Could not build module ‘ReactiveCocoa’
- “could not build module UIKit”问题的解决
- Could not Build module ImageIO
- 自定义Framework出现:Could not build module ‘xxx’的错误提示
- iOS开发,导入c文件引发的Could not build module 'Foundation'问题(转)
- “could not build module UIKit”问题的解决
- iOS学习笔记30-could not build module 'Foundation' (使用Zbar二维码操作时)
- iOS could not build module
- 头文件声明出现:could not build module UIKit
- iOS开发,导入c文件引发的Could not build module 'Foundation'问题