For Xcode 15.0+, you have to remove the Main interface configuration from here, as attached:
Steps:
Note: you also need to make the changes in info.plist file related to Main interface. That is same process as the previous Xcode versions.