【问题标题】:Can't build RestKit for armv6无法为 armv6 构建 RestKit
【发布时间】:2012-09-24 13:07:25
【问题描述】:

我经常收到这样的警告:

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。由于编译器找不到编译文件的规则,它根本不编译它们,所以我无法在设备上安装应用程序,因为它说它找不到已编译的库。我尝试了在互联网上找到的不同方法,但它们仍然不起作用。谁能解释一下这个问题的核心以及为什么会发生?

【问题讨论】:

    标签: ios xcode restkit armv6


    【解决方案1】:

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

    【讨论】:

    • 是的,它的 Xcode 4.5。现在有机会为 armv6 构建吗?
    • 我认为在 Xcode 4.5 下根本不可能为 armv6 构建。但请记住,这是 iPhone 3G 和更早的型号。 3GS 及更高版本(以及所有 iPad)支持 armv7。所以,我想你只需要确定 3G 对你的底线有多重要。
    • 非常感谢!节省了我几个小时:)
    • 显然你可以欺骗 XCode 4.5 为 armv6 构建:blog.chpwn.com/post/31824877081
    猜你喜欢
    • 2016-05-10
    • 2011-10-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-09-10
    • 1970-01-01
    • 1970-01-01
    • 2012-01-23
    相关资源
    最近更新 更多