I'm also running into a similar issue.
I am writing a native macOS app, and I'm trying to integrate image playground functionality.
For some reason, the "Done" button in the sheet presented is always disabled.
I'm getting the same error messages as above:
Private sandbox for com.apple.GenerativePlaygroundApp.remoteUIExtension : <none>
Private sandbox for com.apple.GenerativePlaygroundApp.remoteUIExtension : <none>
Private sandbox for com.apple.GenerativePlaygroundApp.remoteUIExtension : <none>
Private sandbox for com.apple.GenerativePlaygroundApp.remoteUIExtension : <none>
dealloc Query controller [A338C8B6-FEB3-4F95-AD86-621274A9C2C6]