【问题标题】:Build failed while running on the device在设备上运行时构建失败
【发布时间】:2014-02-12 13:19:40
【问题描述】:

提前致谢

我从 Xcode 4.6 迁移到 Xcode 5.0。现在我在 xcode 5.0 中运行我的 xcode 4.6 项目,通过 xcode 5.0 在设备(带有 iOS 7 的 iPhone 4)上执行它时,我收到了这个错误

      clang: error: linker command failed with exit code 1 (use -v to see invocation)

【问题讨论】:

  • 您试过清洁产品吗? (产品 -> 从菜单栏中清除)

标签: iphone xcode5


【解决方案1】:

找到解决方案, 刚刚将 Build Settings -> Architectures -> Valid Architectures 更改为 armv7

【讨论】:

    猜你喜欢
    • 2018-06-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-10-01
    • 1970-01-01
    • 1970-01-01
    • 2022-08-10
    相关资源
    最近更新 更多