I am trying to making a blocker for Mac,I have follow these steps(link)
and then using this code
[SFContentBlockerManager reloadContentBlockerWithIdentifier:APP_EXTENSION_NAME completionHandler:^(NSError * _Nullable error) {
NSLog(@"%@",error);
}];
It's print
Error Domain=SFErrorDomain Code=1 "(null)"
I done googling and found that means of this error is
"noExtensionFound error."
But I am not getting any solution for How to resolve this error.
I solved this error, what a silly mistake.
This error is coming because in new Xcode Content Blocker Extension comes with a different option next to safari extension option, and I chooses safari extension, and I am trying to make Content Blocker.So that's why "noExtensionFound error" is coming.