Xcode13 running simulator reports an error and the real machine is normal
building for iOS Simulator, but linking in object file built for iOS, xxxx for architecture arm64
Solution here is only a real and effective solution of my own
build settings -> Validate workspace (set to yes)
Set validate workspace to yes, and then run the simulator. The simulator really runs
https://stackoverflow.com/a/65306476