Unable to import SFSafariApplication in Xcode 11.5/macOS 10.15.5

I've just converted my app to Catalyst and everything looks good, except I'm not able to import SafariServices.SFSafariApplication (I need it to call SFSafariApplication.showPreferencesForExtension). I'm getting

No such module 'SafariServices.SFSafariApplication'.

One of the project targets is a Safari Content Blocker.

Is this expected behavior?

If I build the Content Blocker target onto Safari I see the "extension" (if I can call it like so) in the Safari list just fine, though it doesn't seem to work. Does Mac Catalyst support Content Blockers?
Post not yet marked as solved Up vote post of Cesare D. Down vote post of Cesare D.
423 views

Replies

Any Apple engineer who could please confirm this?