Post

Replies

Boosts

Views

Activity

Not receiving push device token in macOS development builds
Hi there, I'm seeing weird behavior when trying to register for push notifications in macOS development builds for any of my apps I'm calling registerForRemoteNotifications() on my NSApplication object but I never receive any callbacks in my AppDelegate. Neither didRegisterForRemoteNotificationsWithDeviceToken nor didFailToRegisterForRemoteNotificationsWithError is ever called. The code works perfectly in release builds where I receive the device token as expected in the delegate method. I'm getting the exact same behavior on two Macs (both running the latest Catalina version). My code signing settings are set to "Automatically manage signing" and my apps use Xcode managed Provisioning Profiles which include the "Push Notifications" capability and the "com.apple.developer.aps-environment" entitlement. Is this in any way a known problem?
5
0
4.2k
Jun ’20
Custom Siri Intents not found using Xcode 12 beta
Hi there, I've got a problem here using the new Xcode 12 beta version with custom Siri intents. My app has several intents defined in a ".intentdefinition" file but when I try to compile with Xcode 12, the corresponding types are not found (e.g. "Cannot find type 'IAppointmentIntent' in scope"). Everything compiles fine with Xcode 11.5. What's also strange: after compiling with Xcode 11.5, the project can be built with Xcode 12 just fine. This works until I clean my build folder, after which I have to build with 11.5 again.
2
0
771
Jun ’20