简体   繁体   English

分段故障:11、Xcode 13.2。 运行问题

[英]Segmentation Fault: 11, Xcode 13.2. Issue on running

I am using Xcode 13.2 and facing this issue while trying to build.我正在使用 Xcode 13.2 并在尝试构建时遇到此问题。 getting this error in many files.在许多文件中出现此错误。 运行完成后,我收到此错误

Worked for me when I changed the optimization level of Swift compiler- Code generation.当我更改 Swift 编译器代码生成的优化级别时为我工作。

将优化级别从 - otpimize for speed 更改为优化 size

I am facing the same issue since I have started using xcode 13.2 and macos monterey.自从我开始使用 xcode 13.2 和 macos monterey 以来,我面临着同样的问题。 I tried changing Optimization Level and it didn't work.我尝试更改优化级别,但没有成功。 What works is remove all code from file and paste it again and then build, for some files it will remove error but it throws same error in random files, so there is no solution yet.有效的是从文件中删除所有代码并再次粘贴然后构建,对于某些文件,它会删除错误但它会在随机文件中引发相同的错误,因此还没有解决方案。 Anyone can please help me in this.任何人都可以在这方面帮助我。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM