Cannot assign value of type 'hghg.SneakerStore' to type 'hghg.SneakerStore'

hi im trying to fix this error but I don't get what I should do here im always getting the error: Cannot assign value of type 'hghg.SneakerStore' to type 'hghg.SneakerStore' in the underlined section of the code hope maybe someone can help me

@IBAction func showSummary(_ sender: UIBarButtonItem) {

                let storyboard = UIStoryboard(name: "Main", bundle: nil)

                let summaryVC = storyboard.instantiateViewController(withIdentifier: "SummaryViewController") as! SummaryViewController

                summaryVC.sneakerStore = sneakerStore

                navigationController?.pushViewController(summaryVC, animated: true)

            }

            @IBAction func scanBarcode(_ sender: UIBarButtonItem) {

                let barcodeScannerVC = BarcodeScannerViewController()

                present(barcodeScannerVC, animated: true)

            }

The error "Cannot assign value of type 'hghg.SneakerStore' to type 'hghg.SneakerStore'" indicates that there is a type mismatch between the two instances of SneakerStore.

One possible reason for this error is that you have defined SneakerStore in multiple places in your project, which can result in two separate definitions of the same class with different types. To resolve this error, make sure that the SneakerStore class is defined in only one place in your project, and that both instances of SneakerStore are using the same definition. You can also try cleaning your project by going to "Product" > "Clean Build Folder" in Xcode, and then rebuilding your project to see if that resolves the error. If you're still having trouble, you can try providing more context or code snippets so that I can provide more specific guidance.

Cannot assign value of type 'hghg.SneakerStore' to type 'hghg.SneakerStore'
 
 
Q