iOS-Universal-Framework icon indicating copy to clipboard operation
iOS-Universal-Framework copied to clipboard

How can iOS-Universal-Framework using storyboard in a Framework?

Open mrgaolei opened this issue 11 years ago • 1 comments

I create a storyboard file in Framework project and load it from framework-project-name.m, then I archive this project, all things looks OK.

But when I import this Framework in to a SinglePageProject and call framework-project-name.m's method, it crashed!

Xcode tell me can't found xxx.storyboard in bundle.

mrgaolei avatar Jul 12 '14 02:07 mrgaolei

I'm going on memory from a while ago, but I think this is correct. What we found was that Xcode does not like a compiled storyboard (Foo.storyboardc) in with the framework. If you remove the compiled storyboard and copy the uncompiled storyboard into the framework, it works fine. This is only when you include the framework in a separate project. We have a test app within the same project as the framework, and the compiled storyboard works there, but when it is an app in a separate project, it doesn't work.

mickmgit avatar Jul 22 '14 22:07 mickmgit