Could not find module ' for target 'arm64-apple-ios'; found: x86_64-apple-ios-simulator,

I am trying to add a framework to my project but I am facing 'Could not find module 'StandardCheckoutKit' for target 'arm64-apple-ios'; found: x86_64-apple-ios-simulator' Error

This framework works perfectly in Simulator but didn't work on real devices (iPhone XS Max)

  1. Added framework using drag and drop (downloaded from the browser)
  2. I am not installing the framework via pods (not available)