Post

Replies

Boosts

Views

Activity

Reply to Returning a type from an Intent (basics)
Ahh, I see. ReturnsValue is generic and you have to provide the concrete type you are going to return. https://developer.apple.com/forums/thread/723455 So in my case, the perform method signature needs to be func perform() async throws -> some IntentResult & ReturnsValue<Double> The docs could be a bit clearer here IMHO.
Topic: App & System Services SubTopic: General Tags:
Nov ’23
Reply to macOS cannot use custom UNNotificationSounds ?
After some great detective work from another developer it seems that the issue is caused by the "Play user interface sound effects" option in the 'Sound Effects' section of the 'Sound' System Preferences pane. I had to turn that option off, delete my app, reboot, then re-enable that option and the custom sounds now work. The .caf files still don't work, but that can be worked around.
Oct ’22