In Xcode 15.4, it's under entity inspector (last tab), look under class, Module would be Global Namespace. Change it to Current Product Module.
Note, it still crashes.
Topic:
App & System Services
SubTopic:
iCloud & Data
Tags: