Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mrgaolei opened this issue Jul 12, 2014 · 1 comment
Open

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

mrgaolei opened this issue Jul 12, 2014 · 1 comment

Comments

@mrgaolei
Copy link

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.

@mickmgit
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants