Post

Replies

Boosts

Views

Activity

Swift compiler crashing - Illegal instruction: 4
Hi, after updating to Big Sur, XCode is failing to build my project with this error: Illegal instruction: 4 Here is the end of the exported XCode logs: XCode logs - https://developer.apple.com/forums/content/attachment/21d6d403-a629-4c31-9f8a-fc6f1c18280b Doing further research, It seems that the command swift-frontend itself is crashing, stuck in hoistChecksInLoop Here is the crash report: swift-frontend crash report - https://developer.apple.com/forums/content/attachment/00b1a077-bc6b-4d94-a1f5-80bd8c865669 I found this thread https://developer.apple.com/forums/thread/61213, that looks related, but this is old ... Is there something I can do, which does not involve removing all loops from my code or rolling back to catalina ? I've also created a feedback ticket there: https://feedbackassistant.apple.com/feedback/9111121
2
0
1.3k
May ’21