I have a M2 machine and I am not able to run my application because this problem. It looks like that the builder can not find the module in the project.
Could not find module 'NKVPhonePicker' for target 'arm64-apple-ios-simulator'; found: x86_64-apple-ios-simulator, at: /Users/matheushenriquealmeida/Library/Developer/Xcode/DerivedData/Shipwell-bfpwrdzzhdzgipahlrexvaqvcizc/Index.noindex/Build/Products/Debug-iphonesimulator/NKVPhonePicker/NKVPhonePicker.framework/Modules/NKVPhonePicker.swiftmodule