Xcode 6.0.1命令/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/

编程入门 行业动态 更新时间:2024-10-15 06:22:02
本文介绍了Xcode 6.0.1命令/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc失败,退出代码为1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

请帮我解决错误。

我陷入困境,尝试解决错误但对我不起作用。

I am stuck badly, tried solving the error but didn't work for me.

需要帮助....

请看屏幕截图。

我在归档时遇到此错误。

I am getting this error on archive.

推荐答案

当 Swift优化级别未设置为无用于发布。将值设置为无,问题就会消失。

This problem occurs when the Swift optimization level is not set to None for Release. Set the value to None and the issue goes away.

  • 打开项目并单击项目根目录。
  • 单击构建设置选项卡。
  • 搜索 Swift编译器 - 代码生成,并在优化级别下确保发布设置为的无即可。
  • Open up your project and click on the projects root directory.
  • Click the build settings tab.
  • Search for Swift Compiler - Code Generation and under Optimization Level make sure Release is set to None.
  • 编辑

    升级到Xcode后6.1归档时这些指令引起了其他问题(构建调试/设备工作正常)。将优化设置为Fastest允许我再次存档。 Swift编译仍存在明显问题(具体归档)。

    After upgrading to Xcode 6.1 these instructions caused other issues when archiving (building for debug/device worked fine). Setting the optimization to Fastest allowed me to archive again. There are apparent issues with Swift compiling still (archiving specifically).

    无法归档工作6.0.1 Xcode 6.1 /分段故障中的Swift项目:11

    编辑 在阅读此答案之前,我无法为Build Settings选项卡提供资金。

    EDIT I was not able to fund the Build Settings tab, until I read this answer.

    如何查找构建设置标签

    更多推荐

    Xcode 6.0.1命令/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.

    本文发布于:2023-11-26 13:45:16,感谢您对本站的认可!
    本文链接:https://www.elefans.com/category/jswz/34/1634046.html
    版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
    本文标签:命令   代码   app   Contents   Applications

    发布评论

    评论列表 (有 0 条评论)
    草根站长

    >www.elefans.com

    编程频道|电子爱好者 - 技术资讯及电子产品介绍!