Xcode 11.4 - 归档项目 - 分段错误 11 [英] Xcode 11.4 - Archiving project - Segmentation Fault 11

查看:41
本文介绍了Xcode 11.4 - 归档项目 - 分段错误 11的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚将 Xcode 更新到 11.4,在归档项目时,它向我显示Segmentation Fault 11"

I Just updated Xcode to 11.4 and when archiving a project it shows me 'Segmentation Fault 11'

此项目将使用 Xcode 11.3.1 存档,但现在没有..

This project would archive with Xcode 11.3.1 but now it doesn't..

还有其他人遇到过同样的问题吗?

Anyone else ran into the same issue?

修改时间:2020 年 4 月 15 日

Apple 刚刚发布了 Xcode 11.4.1

Apple just released Xcode 11.4.1

推荐答案

我遇到了同样的问题.存档使用发布构建配置,因此我检查了每个编译器设置,以确定哪些差异会导致这些分段错误.

I have run into the same issue. Archiving uses the Release building configuration so I went through every compiler setting to work out which of the differences lead to these Segmentation faults.

就我而言,当我将 Release 的设置 Enable Testability 更改为 YES 时,问题就会消失.

In my case the problem disappears when I change the setting Enable Testability to YES for Release.

不,我不知道这在存档或发布版本中有什么缺点,或者确实为什么这个特殊设置可以缓解问题,但归根结底,我有一个花了一年时间才得到的项目到这个阶段,我非常渴望将其提供给内部 Beta 测试人员,因此我将通过试飞提交它,看看我会如何.

No I have no idea what the downsides to this are in the archive or release build, or indeed why this particular setting alleviates the problem, but at the end of the day, I have a project that has taken a year to get to this stage and I'm very keen to get this to internal beta testers so I am going to submit this through test flight and see how I go.

我的感觉是这绝对是 Apple 的错误,因为编译器根本不应该是 Seg Faulting.它在 Debug 配置下编译的事实为此提供了支持.我的项目太大了,我不知道如何重现这个来提交错误,但我会看看我是否能在 Apple 论坛上得到一些回应.

My feeling is this is definitely an Apple bug, as the compiler should not be Seg Faulting at all. The fact it compiles under the Debug configuration lends support to this. My project is so large that I don't know how to reproduce this to submit a bug, but I'll see if I can get some response on the Apple Forums.

这篇关于Xcode 11.4 - 归档项目 - 分段错误 11的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆