The file *.storyboardc was not found

六眼飞鱼酱① 提交于 2019-12-01 05:47:13

问题


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

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


回答1:


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.




回答2:


For me quitting Xcode (version 7.1.1) and trying again did the trick.




回答3:


I ran into this issue and found the following to work without sacrificing localization.

1) Copy your Main.storyboard from en.lproj to the root directory of your extension

2) Drag into Xcode the copied file among the extension's files and make sure not to check "Copy items if needed"

3) Archive and validate

This gets it passed the validator for now. I have a developer support ticket in with Apple and they are aware of the issue.

UPDATE 10/15/2014: Apple has resolved this issue. Workaround no longer needed




回答4:


I had this issue caused by using a "/" in the storyboard ID.

Removing this solved it.



来源:https://stackoverflow.com/questions/26187413/the-file-storyboardc-was-not-found

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!