-
-
Notifications
You must be signed in to change notification settings - Fork 982
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
Stevia Package Version Differences Causing Issues #718
Comments
Still a lot of people use cocoapods (so am I) and in our team we don't use SPM because of VPN issues. SPM is too automatic for us. |
@gintechsystems please try https://github.com/Yummypets/YPImagePicker/releases/tag/5.1.1 and tell if it build ok with SPM or cocoapods. |
@NikKovIos I will try that and let you know. Thanks for clarifying your issues with SPM, I was not aware of those. I am still using cocoapods myself as SPM seems to be very specific about versioning too and you can't easily use a forked version of a library through github. |
@gintechsystems also SPM is a big problem if you haven't internet connection or it is slow. |
Yeah you are correct, I personally wish Stevia would allow for cocoapods still with the latest version. They dropped support to early! Maybe someone else has forked it to stay supported on cocoapods, we can investigate that so we don't have two dependency managers. |
@gintechsystems I've made a PR today freshOS/Stevia#163 Give a like to it ;) |
I gave it a like, you said one person did it why don't you use that version in the picker for now until Stevia adds back support? Are you concerned about that person keeping the lib up to date? |
@gintechsystems because his repo is outdated too. Now I've bringing back old versions of Stevia for cocoapods and SPM. Check new release description. |
I see. Lets hope Stevia adds back support for cocoapods. I think your listed reasons are fair enough for them to do it. I subscribed so I will be watching the thread as well. |
@gintechsystems open new issue if find problems. |
When working in the example project of YPImagePicker, it uses the Swift Package Manager Stevia 5.1.1. This is causing issues when using YPImagePicker through cocoapods in others projects because it uses 4.7.3 but the example is using SPM 5.1.1.
This mainly creates confusion and forces the developer to know which methods are supported in 4.7.3 and which are in 5.1.1 when working with this library.
Write Stevia code that uses methods from 5.1.1 but not 4.7.3.
An example is button.fillHorizontally(padding: 30)
Pull in the project through cocoapods and see that build compilation fails because the project is using methods that does not exist in 4.7.3.
I recommend to remove cocoapods complete from the project, there is no reason for developers not to start using both at the very least. I know it is not easy to get away from cocoapods since a lot of old libraries haven't moved yet, especially libs that haven't had support in some time.
The text was updated successfully, but these errors were encountered: