找不到文件 *.storyboardc [英] The file *.storyboardc was not found

查看:44
本文介绍了找不到文件 *.storyboardc的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试提交带有扩展程序的 iOS 应用程序,但在验证时遇到一个奇怪的错误:

I am trying to submit iOS app with extension, but get a weird error on validation:

我的小部件故事板名为 Main.storyboard.属性文件如下所示:

My widget storyboard named Main.storyboard. Property file looks like this:

推荐答案

我想这是一个错误.当我将 Main.storyboard(在 info.plist 中定义的 NSExtensionMainStoryboard)移动到扩展目标的子目录时,我解决了这个问题.这意味着您不能本地化 main.storyboard,因为它将被移动到基本目录或特定语言目录.

I guess it's a bug. I solved this problem when I moved Main.storyboard (NSExtensionMainStoryboard defined in info.plist) to the subdirectory of extension target. It means that you can't localize main.storyboard, because it will be moved to base directory or specific language directory.

这篇关于找不到文件 *.storyboardc的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆