I just wonder if it’s possible to add push notifications to an app made it Swift Playgrounds or if it always has to be exported to XCode first
Swift Playgrounds Push Notifications
Services that require entitlements (like push notifications) are not directly supported in Swift Playgrounds, but can be used by opening your app playground in Xcode, as you suggested!