I recieve the error message "XOJITError: Could not create code file directory for session: Permission denied". I'm Using Xcode 16.2. It is an AppKit project using SwiftUI and it also happens if I create a clean project. Error log is attached.
Xcode preview fails
Thanks for letting us know about this. Can you file a feedback with a sysdiagnose after reproducing the problem again? We'd like to see what kind of things the permissions subsystems are up to when this happens.