There was a problem linking the app

All fine building for device. This happens when trying to build for Xcode simulator:

Sep 14 13:47:27.186 ERROR: Builder failed: ld: warning: ignoring file /Users/Desktop/, missing required architecture i386 in file /Users/Desktop/Q (1 slices)
Sep 14 13:47:27.186 Undefined symbols for architecture i386:

15.5 Metal. Solar2D 3651. macOSBigSur 11.5.2