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

Build framework from project #2919

Closed
sbeff opened this issue Oct 27, 2017 · 2 comments
Closed

Build framework from project #2919

sbeff opened this issue Oct 27, 2017 · 2 comments

Comments

@sbeff
Copy link

sbeff commented Oct 27, 2017

Hi all,
I'm using this fantastic framework to build a chart into my app, and I was wondering if I could build the framework selecting "General iOS Device" as build target, and then put the generated Charts.framework into my app's project, and add it in the embedded binaries. This is because I'd avoid to put the entire Charts project into mine.
Thanks!
Emanuele

@pmairoldi
Copy link
Collaborator

You could use Carthage to do that for you. That is its purpose. If you want to do it manually you can too. It should work if you can find where the framework gets built to.

@liuxuan30
Copy link
Member

liuxuan30 commented Oct 31, 2017

yes if you don't need to touch the code, carthage can do that perfectly. But be careful if you encounter framework missing issue. Have to make sure the framework is copied with your app bundle. details can be seen on carthage README

building from code is also easy. just build under release mode and go to derrived data to find the framework.

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

3 participants