The file *.storyboardc was not found

2019-02-19 03:54发布

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

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

enter image description here

4条回答
SAY GOODBYE
2楼-- · 2019-02-19 04:16

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

查看更多
对你真心纯属浪费
3楼-- · 2019-02-19 04:22

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楼-- · 2019-02-19 04:30

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

Removing this solved it.

查看更多
闹够了就滚
5楼-- · 2019-02-19 04:40

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.

查看更多
登录 后发表回答