-
Notifications
You must be signed in to change notification settings - Fork 380
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
Carthage support #61
Comments
+1 |
1 similar comment
+1 |
+1 |
Please do not +1 issues; we generally do not use voting to determine this project’s roadmap. If you would like to see something happen sooner, a pull request is the best argument. |
There was a pull request for this issue sitting around for months. What could be done to get it accepted? |
I should expand on my stock (copy & pasted) reply; sorry about that. There were a number of issues remaining with that initial, experimental PR, including how far out of date from While we will eventually need Carthage support ourselves, it’s not currently the top priority for our team. But I can outline our current thinking on what we need to see in an acceptable Carthage-support PR:
Those two “figure out” steps are a part of why we haven’t done this internally yet; we just haven’t spent the time to figure out the best plan of attack. They may well be issues others trivially know how to resolve with Carthage, but that I don’t offhand. Hopefully this response is useful and can help guide a future attempt, whether that comes from someone else or from my own team at some other time. Edit: oh, and IMO #62 belongs somewhere on that checklist. |
Unfortunately subspac like behavior is something the Carthage team explicitly does not want to support. My solution would be to include it by default, including adding it as a dependency to the frameworks Cartfile and making 2 framework targets, 1 called "NYTPhotoViewer" that links to and includes GIF support and "NYTPhotoViewerCore" which excludes it. User's of the framework that did not want to include GIF support would link against Core and ignore FLAnimatedImage. The big downside here is that the carthage commands will still download and build FLAnimatedImage, as well as both frameworks, but the alternative would require separate repositories. The nice things about Carthage though is it only builds dependencies once and then reuses them across builds of the app, so it shouldn't add too much overhead like Cocoapods would. |
Thank you very much for your comments above and your work on #164, @davbeck! I have merged your PR #164, adding Carthage support and closing this issue along with #62. Before merging I checked the following:
However, I'm not quite ready to cut a release:
Finally, I want to thank everyone in this thread for their interest in the project and their patience with me, and especially @davbeck for his work in #164. |
Would be awesome to have Carthage support.
The text was updated successfully, but these errors were encountered: