Redundant conformance of ‘ViewController’ to protocol ‘SharingDelegate’ after updating the FBSDKCore to 5.6.0 in iOS Swift

Currently I’m working on an iOS application in swift. In my application I’m using FacebookShare pods(FBSDKCoreKit 4.46.0) for sharing contents to the Facebook. For that I was used FBSDKSharingDelegate. Today I updated the pod to FBSDKCoreKit to 5.6.0. After updating I got some suggestion in my code like

‘FBSDKSharingDelegate’ has been renamed to ‘SharingDelegate’

So I changed it to SharingDelegate, also I changed in my code. But now its showing another error,

Redundant conformance of ‘ProductDetailViewController’ to protocol
‘SharingDelegate’

I searched in google, and I didn’t get any solution. Please help me.

These are the protocols I’m used in that ViewController class

class customViewController: UIViewController, UITableViewDelegate, UITableViewDataSource, UICollectionViewDelegate, UICollectionViewDataSource, UICollectionViewDelegateFlowLayout, MFMailComposeViewControllerDelegate, UIGestureRecognizerDelegate, UITextViewDelegate, UIScrollViewDelegate, GADBannerViewDelegate, SharingDelegate 
{

}

I don’t know which protocol is redundant with SharingDelegate.

Source: Ios