Im my case the problem was solved when I addressed another error: SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no name)"
Once this was done (by editing project info to add scene configuration) the error message went away. I am using Xcode 14.2 and testing on iphone 13 simulator.