App crashes after migrating to Tuist on iOS 18+

Question or problem

App crashes after migrating to Tuist on iOS 18+
I’m catching this error after in some parts of my code:

Thread 15: EXC_BREAKPOINT (code=1, subcode=0x105aac3f8)
Screenshots: Click

I can’t figure out why, maybe tuist exposes some special setting to the severity of the language or something, I have no idea. I tried comparing the pre-migration project between the current one and found nothing relevant

Perhaps iOS 18 has become more demanding on thread security, but why does this work before migration

Expectation

Maybe you have some ideas on how to help me, I’m honestly already exhausted looking for a solution

Context

  • Tuist version: 4.5.1
  • Xcode: 16.3
  • Crashes on 18.0+ iOS
  • Specified language version in Swift 5 project settings

UPD: I found a couple of threads on forums related to the same error, but not related to tuist, people write that it’s a Swift 6 problem, can it be that the application is built in Swift 6 ignoring the project setup in Swift 5?

The crash doesn’t seem to be a Tuist issue. The projects generated with Tuist are standard Xcode projects.

As you mention, what could have happened is that some of your settings have changed during the migration. Unfortunately, we don’t really have enough context to provide a lot of suggestions.

What you can do is to use xcdiff to compare your project before and after migration – however, you’ll likely have a tons of changes and this might not be useful. But worth a try and you can focus on just the Swift language versions setting if that’s your suspect.

You should be able to confirm that in your app’s build settings. You can also confirm that by running xcodebuild -showBuildSettings.