简体   繁体   English

如何从新的Xcode 11项目中删除“主要”故事板?

[英]How to remove “Main” storyboard from new Xcode 11 project?

How do you completely remove the "Main" Storyboard from a new Xcode project? 如何从新的Xcode项目中完全删除“主”情节提要?

1) I deleted the storyboard file from the new project. 1)我从新项目中删除了故事板文件。 2) I removed the reference to Main in target settings. 2)我在目标设置中删除了对Main的引用。 3) I cleaned the build folder. 3)我清理了构建文件夹。

My project is still crashing at launch with this error. 我的项目在启动时仍然因此错误而崩溃。 Is there an additional step I'm missing in Xcode 11? Xcode 11中还缺少我要执行的其他步骤吗?

'Could not find a storyboard named 'Main' in bundle NSBundle

I found the problem. 我发现了问题。 In Xcode 11 you also have to delete the "Application Scene Manifest" entry in the app's property list file. 在Xcode 11中,您还必须删除应用程序属性列表文件中的“ Application Scene Manifest”条目。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM