Hello! I'm making an app for VisionOS. I can run the app on my Vision Pro, and I can see the SwiftUI previews in the simulator, but for some reason the previews refuse to run on the device.
Here's what I'm seeing:
== PREVIEW UPDATE ERROR:
AppHostMustHaveGetTaskAllowError: Cards.app not code signed properly
”Cards.app” must be code signed in order to use on-device previews. Check your code signing settings for the target.
As far as I can tell, the code signing settings are correct because the app itself runs just fine on the device. I'm not sure what to do…