Make sandbox opt-in instead of opt-out

The sandbox of manifest builds was a great addition to the project. Unfortunately, it has lead to quite a bit of user frustration and increased our maintenance load:

  • The errors are unclear
  • Debugging CI-only issues like this one is very tricky and it’s something we’ll need to keep doing as the Xcode ecosystem keeps evolving
  • It fails somewhat randomly for users – and again, things are very difficult to debug
  • (…and we’ve got more reports when folks were confused with the sandbox in Slack)

I’m suggesting to make the sandbox opt-in instead of opt-out. I would suggest we opt-in in tuist/tuist, so that the feature is not completely forgotten about. But right now, it has too rough edges – and while I agree with the original premise of the option – I no longer believe the trade-off for the majority of Tuist projects is the right one.

I’ve created a draft PR implementing this change. Let me know what you think.

1 Like