The file *.storyboardc was not found

2019-02-19 03:41发布

问题:

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.