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

Prebuilt Frameworks & Tagged Releases #217

Closed
msanders opened this issue Jul 15, 2015 · 8 comments
Closed

Prebuilt Frameworks & Tagged Releases #217

msanders opened this issue Jul 15, 2015 · 8 comments
Labels

Comments

@msanders
Copy link
Contributor

It would be nice if ios-charts had prebuilt frameworks attached to each GitHub release. This would speed up building via Carthage by quite a bit, since it automatically downloads those if they exist instead of building from scratch each time. Right now ios-charts is the lengthiest part of our build process; this would shave off a few minutes and would be much appreciated. Shouldn't be too hard to do manually, but can also be done automatically via Travis's tagged releases. Thanks again for the great library!

@msanders msanders changed the title Prebuilt Frameworks Prebuilt Frameworks & Tagged Releases Jul 15, 2015
@danielgindi
Copy link
Collaborator

Actually I'm not sure if it is possible for Swift frameworks, as those frameworks are limited already (cannot be embedded in pre iOS-8).
But I will look into it!

@msanders
Copy link
Contributor Author

Carthage is only supported for iOS 8 and above, so that shouldn't be an issue. For iOS 7, files can still be dragged in manually (presumably as a submodule). Carthage itself includes a framework written in Swift, so you can see an example of it here.

@msanders
Copy link
Contributor Author

Also see: Quick & Nimble

@danielgindi
Copy link
Collaborator

So, basically all we need is to build the framework binaries, pack them in Charts.framework.zip and attach to a release, and then you and Carthage are happy? :-)

@danielgindi
Copy link
Collaborator

Ok so I've tried - but Xcode does not have an option for archiving frameworks the way Carthage wants. It can only build it as part of a greater project, and I really don't intend to go and pick up the binaries manually after compiling for each combination...

@pmairoldi
Copy link
Collaborator

Carthage can spit out a zip file for you. Its fairly simple carthage archive I believe. I could look into it sometime. I am mainly using carthage right now.

@pmairoldi
Copy link
Collaborator

This can be achieved by running carthage build --no-skip-current && carthage archive Charts

@danielgindi
Copy link
Collaborator

Note that I've built the 2.1.4a binaries into the 2.1.4 release, since Carthage does not support letters after version numbers.

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

No branches or pull requests

3 participants