-
Notifications
You must be signed in to change notification settings - Fork 443
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
[Request] CareKit CocoaPod #1
Comments
A better solution is Carthage, not the CocoaPods mess. |
Since Swift 3 and the package manager is right around the corner, I would not waste time on CocoaPods or Carthage. |
Yes.We can expecting Swift package manager more and Carthage also.Less CocoaPods. |
Let's compromise and add support for both (CocoaPods and Carthage)! |
Its a framework ! and every other frameworks supports CocoaPods and Carthage these days. |
@bishalg: The future of Carthage and CocoaPods is uncertain. Will there be use for them after the Swift Package Manager? Are there any guarantees they will be around? What happens if they suddenly disappear? As long as you cannot answer these questions, implementing CocoaPod and Carthage is not wise. If you build a project and depend on fetching code from elsewhere that's not under your own control, you may one day end up opening a big bag of hurt. You should always build your whole app purely from content in your own repositories. Repositories are deleted and accounts are abandoned almost every day, projects like CocoaPods and Carthage have no guarantee to be around tomorrow. An example of dependency injection gone terribly wrong: How one developer just broke Node, Babel and thousands of projects in 11 lines of JavaScript The only other repositories I trust beside my own, are those maintained by Apple. So thats why I strongly suggest not wasting time on something else than Swift Package Manager. |
@yuppielabel I believe the suggestions are to allow for dependency management using CocoaPods or Carthage or Swift Package Manager, but not that any of them should be required. I agree with your points that depending on third-party code can be dangerous, but I think you're misunderstanding the recommendation of a CocoaPods podspec or Carthage compatibility as requirements to use either. |
@a2: I just expressed my opinion why support CocoaPods and Carthage is waste of time since the native Swift Package Manager will be released for regular use together with Swift 3.0. SPM will probably take over for the two others, and since it will work across all platforms, together with the massive support from Apple, the work on the other dependency managers will probably stagnate and be abandoned pretty soon. |
We are working on a fix to support CocoaPods for now. |
CareKit is already compatible with Carthage ;) P.S: ResearchKit is also needed to run the demo project. |
Yes, CareKit currently works fine with Carthage. The following is all you need in your `Cartfile:
|
CocoaPods support is now live. |
Adding CocoaPods as a method for installing the framework would enable seamless version management of the framework in projects already utilizing CocoaPods for dependency management. It also lets a developer import the framework even faster, and better matches the existing ResearchKit project installation options.
ResearchKit can be a dependency, allowing a developer to import both ResearchKit and CareKit pods into his or her project with a single declaration of
CareKit
in the pod file.The text was updated successfully, but these errors were encountered: