Has anyone been able to get a Widget with an intent working on macOS? I have the widget itself working just fine, but when I click "Edit Widget" the options I defined do not appear and the "Done" button doesn't work.
This seems to happen with a brand new target and just a simple new text parameter.
Am I missing something or is this a bug?
I'm using Big Sur beta 6 and Xcode 12b6. This was also the case with Big Sur beta 5.
This seems to happen with a brand new target and just a simple new text parameter.
Am I missing something or is this a bug?
I'm using Big Sur beta 6 and Xcode 12b6. This was also the case with Big Sur beta 5.
The problem turned out to be an older copy of the app on my disk and macOS getting confused and looking in the wrong place.
I'm adding a Widget to an existing app that doesn't currently have one. I have the current, App Store version in /Applications. I've been running the updated version from Xcode or exporting it to my desktop and running it from there. The Widget itself -- as noted in the question -- runs just fine. But it seems that when looking for the Intent used for the configuration, it prefers to look in /Application rather than the Xcode version. As soon as I deleted the original app, the widget and its settings immediately started working.
I'm adding a Widget to an existing app that doesn't currently have one. I have the current, App Store version in /Applications. I've been running the updated version from Xcode or exporting it to my desktop and running it from there. The Widget itself -- as noted in the question -- runs just fine. But it seems that when looking for the Intent used for the configuration, it prefers to look in /Application rather than the Xcode version. As soon as I deleted the original app, the widget and its settings immediately started working.