无法为 armv6 构建 RestKit



我经常收到这样的警告:

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 的支持

最新更新