无法为armv6构建RestKit

时间:2012-09-24 13:07:25

标签: ios xcode restkit armv6

我经常收到这样的警告:

warning: no rule to process file '$(PROJECT_DIR)/Vendor/YAJL/NSBundle+YAJL.m' of type sourcecode.c.objc for architecture armv6 
warning: no rule to process file '$(PROJECT_DIR)/Vendor/YAJL/NSObject+YAJL.m' of type sourcecode.c.objc for architecture armv6 
warning: no rule to process file '$(PROJECT_DIR)/Vendor/YAJL/yajl-1.0.9/src/yajl.c' of type sourcecode.c.c for architecture armv6 
warning: no rule to process file '$(PROJECT_DIR)/Vendor/YAJL/yajl-1.0.9/src/yajl_alloc.c' of type sourcecode.c.c for architecture armv6
....

尝试使用Architectures构建选项中的“armv6”标志编译RestKit。由于编译器无法找到编译文件的规则,因此根本无法编译它们,所以我无法在设备上安装应用程序,因为它说找不到编译库。我尝试过在互联网上找到的不同方法,但它们仍然不起作用。任何人都可以解释这个问题的核心及其发生的原因吗?

1 个答案:

答案 0 :(得分:1)

你在运行Xcode 4.5吗?版本4.5已经放弃了对armv6的支持