Ever since Xcode 26, SwiftUI previews haven't worked at all unless I disable san...

@siracusa@mastodon.social

Ever since Xcode 26, SwiftUI previews haven't worked at all unless I disable sandboxing in my app. If I don't do that, I get this error:

XOJITError: Could not create code file directory for session: Permission denied

I keep hoping a new version of Xcode and/or macOS will fix it, but it's the same in the latest 27 betas.

(Editor → Canvas → Use Legacy Previews Execution also doesn't fix it, but does change the error.)

Apple folks: FB24222556