我不断收到这样的警告:

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
....

尝试在“体系结构”构建选项中使用“armv6”标志编译RestKit时。由于编译器无法找到规则来编译文件,因此它根本无法编译文件,因此我无法在设备上安装应用程序,因为它表示找不到已编译的库。我尝试了在互联网上找到的其他方法,但是它们仍然无法正常工作。谁能解释这个问题的核心以及为什么会发生?

最佳答案

您正在运行Xcode 4.5吗? 4.5版已放弃对armv6的支持

关于ios - 无法为armv6构建RestKit,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/12565686/

10-10 13:57