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

Use embeddedframework in project dependency #20

Closed
lkraider opened this issue Aug 6, 2011 · 4 comments
Closed

Use embeddedframework in project dependency #20

lkraider opened this issue Aug 6, 2011 · 4 comments

Comments

@lkraider
Copy link

lkraider commented Aug 6, 2011

When I add MyFakeFramework Xcode project inside MyProject, the only product that is available is the bare framework, but I need the embeddedframework because of the included resources. How can I set that?

@kstenerud
Copy link
Owner

The embedded framework is not shown from within the project. To get to it, right-click on the framework under "Products" and "show in Finder". It will open a folder containing both the framework and the embedded framework.

@lkraider
Copy link
Author

lkraider commented Aug 8, 2011

Can't I set it as a Target Dependency so that it builds when I build the parent project?

@kstenerud
Copy link
Owner

Xcode itself doesn't actually understand what an embeddedframework is. The embedded framework thing is a hack so you can release a built framework that Xcode will look inside of for resources.

Unfortunately, if you're using target dependencies, it only looks at the framework (which is all it understands), not the embeddedframework, so you can't actually use it that way and see the resources (yes, it's annoying, I know. All we can do is bug Apple to fix resources in frameworks).

@lkraider
Copy link
Author

lkraider commented Aug 9, 2011

Oh well, what I am doing right now is using the target dependency and duplicating the resources on the main project. Not the best solution, but at least it's working...shakes fist at apple

Thanks for all your help and great project.

@lkraider lkraider closed this as completed Aug 9, 2011
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