-
-
Notifications
You must be signed in to change notification settings - Fork 6k
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
CocoaPods not longer working (Master / v4.0.0) #4572
Comments
me too. wait for my hero. |
For reference, it doesn't seem possible to use the Swift Algorithms library from Apple using CocoaPods, which is the blocker. |
So We still use v3.6.0 by cocoapods only? |
What about the 4.0.1? I still got to warnings in XCode with: "Using 'class' keyword for protocol inheritance is deprecated; use 'AnyObject' instead". |
@sinhpn92 See Workaround in main post |
@Karpot the topic only applies to cocoapods. You are describing something else. |
Carthage is also unavailable...
|
Any updates on this? Can we use 4.0.0 through pods? I'm getting sick of SPM being flaky, and wanted to switch to pods, but it seems that SPM was using 4.0.x, but pods only has 3.6.0... |
hmm.. I think when I tried to update pod, pod didn't support SPM. not sure what's the state now? |
|
it seems as the last day of 2021, pod still not suppot SPM. So we have a hard decision to make, either drop the SPM dependency and not enjoy the efficiency from thew SDKs, or pod has to support this way of dependency. I'm not a fan of pod but my current company invest heavily on pod, so I feel some work could only be done by pod, so I changed my view. however, this seems not possible to find a quick fix for this. @jjatie sorry I'm long offline-ning. I probably will have a few time on this project every week or few weeks. I would hope to enjoy the new fancy tools ,but pod is still playing an important role. is it possibe to make pod support SPM/algorithm? I will try search on pod team side or file one |
I came across CocoaPods/CocoaPods#10049 not sure if this will be a workaround. But I have no time to look deeper.. anyone want the challenge? |
Version 4.0.2 now available on cocoapods |
What did you do?
Build current Master Branch with Cocoapods.
What did you expect to happen?
I can integrate this framework with cocoa pods. Like
What happened instead?
"import Algorithms" not working - can find Algorithms framework
Charts Environment
*4.0.0/master/b8dba5930f293277d40ea4fb7b09af76a688ce44
**Xcode version: 12.4 **
**Swift version: 5.3 **
Platform(s) running Charts: iOS
macOS version running Xcode: 11.1
Reason
Frameworks were added in SPM, which were unfortunately forgotten in the PodSpec. Therefore, this framework will no longer work with CocoaPods
Workaround
The text was updated successfully, but these errors were encountered: