美文网首页
XCode 新建项目删除 AppDelegate 里Scene相

XCode 新建项目删除 AppDelegate 里Scene相

作者: 小y想吃糖 | 来源:发表于2023-06-28 14:09 被阅读0次

问题:XCode 新建项目删除 AppDelegate 里Scene相关报警告-- [SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no name)")
解决方法:在info.plist文件里添加以下关键词。(可以从文档编辑里打开info.plist文件,复制过去)

<plist version="1.0">
     <dict>
           <key>UILaunchStoryboardName</key>
           <string>LaunchScreen</string>
           <key>UIApplicationSceneManifest</key>
           <dict>
                <key>UISceneConfigurations</key>
                <dict/>
           </dict>
      </dict>
</plist>

相关文章

网友评论

      本文标题:XCode 新建项目删除 AppDelegate 里Scene相

      本文链接:https://www.haomeiwen.com/subject/qupoydtx.html