I am developing an application on OS X with Cocoa Webkit. I have implemented my custom WebPolicyDecisionListener but I got the fallowing error:
Class WebPolicyDecisionListener is implemented in both /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit and /Users/cagryInside/Library/Developer/Xcode/DerivedData/MacKeep-aejgqnnxruvgutahmyngzygezfse/Build/Products/Debug/MacKeep.app/Contents/MacOS/MacKeep. One of the two will be used. Which one is undefined.
Here is my code:
WebPolicyDecisionListener* listener = [[WebPolicyDecisionListener alloc] init];
[[self webView] setPolicyDelegate:listener];
Thanks for any help.