解决 Xcode 14 删除 SceneDelegate 后报 -- [SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no name)")提示,在Info.plist添加代码:
<plist version="1.0">
<dict>
<key>UILaunchStoryboardName</key>
<string></string>
<key>UIApplicationSceneManifest</key>
<dict>
<key>UISceneConfigurations</key>
<dict />
</dict>
</dict>
</plist>
在UILaunchStoryboardName下面添加一句<key>UIApplicationSceneManifest</key> <dict> <key>UISceneConfigurations</key> <dict/> </dict>
参考
swift 如何在Xcode16.2中解决这个问题,Info.plist不包含UIScene配置字典(查找名为“(no name)”的配置)