【问题标题】:After upgrading to Xcode 9.0, existing application getting an error "dyld: dyld_sim not compatible mach-o"升级到 Xcode 9.0 后,现有应用程序收到错误“dyld: dyld_sim not compatible mach-o”
【发布时间】:2017-09-25 01:10:17
【问题描述】:

升级到Xcode 9.0后,现有应用程序出错:

“dyld: dyld_sim 不兼容 mach-o”

有没有cmets?

【问题讨论】:

  • 你试过⇧⌥⌘K吗?
  • 抱歉我没听懂?

标签: ios xcode9


【解决方案1】:

build setting 中,您需要将architectures 替换为标准,就像屏幕截图一样......对我有用。

【讨论】:

    【解决方案2】:

    删除 32 位架构并在构建设置中使用默认架构

    【讨论】:

    • 我试图在我的 Xcode 9.0 上删除它,但它不起作用。请提及如何点它。谢谢
    【解决方案3】:

    这是因为 ios 11 兼容 64 位, 解决这个问题 按照以下步骤操作:

    1-app target>>Building Settings >>valid Architectures 必须是这个顺序 armv7 armv7s arm64 2-target>>Building Settings >>Build Architecture Only >> Debug-->YES and release--> NO。 3-.plist :确保 :Required device Capabilities 包含 armv7 。 4-如果您使用第三方库,请确保此库与 64 位兼容。

    【讨论】:

      猜你喜欢
      • 2018-03-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-09-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多