I've written a very simple Safari Content Blocker and wrapper app. However, I'm at a loss as to how to go about debugging it. I've tried running the wrapper app and then running Safari, both within the iOS simulator. However, I do not see my content blocker being applied. (And, yes, I've enabled it in Settings->Safari
) I've added NSLog()
methods to my beginRequest(with context: NSExtensionContext)
method, but do not see them written to the logs. I've tried adding breakpoints in this method, and Xcode never stops on them. So, it's clear to me that either my content blocker is not being installed properly, or I'm not debugging it properly.
Can anyone give me some guidance as to how to debug this extension?