Same issue, any ideas that work? The above suggestions didn't work for me.
Error (Xcode): Linker command failed with exit code 1 (use -v to see invocation)
Could not build the application for the simulator.
Error launching application on iPhone 15 Pro Max.```