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

cocoapods svgren not found #84

Closed
oziphantom opened this issue Dec 4, 2020 · 4 comments
Closed

cocoapods svgren not found #84

oziphantom opened this issue Dec 4, 2020 · 4 comments
Assignees
Labels

Comments

@oziphantom
Copy link

Hello again, In the endless battle of this app, I'm now getting it back to iOS.

However cocoapods has not heard of you.
'unable to find a specification for 'svgren (~> 0.4)'

looking at their website, doing a search for svgren gives no results, libsvgren which is what the previous version of this app used also yields no results.

has it been removed from cocoapods?

@igagis igagis self-assigned this Dec 4, 2020
@igagis igagis added the question label Dec 4, 2020
@igagis
Copy link
Member

igagis commented Dec 4, 2020

Hi,

it actually has never been on the official cocoapods repo. It always was in my personal cocoapods repo.
There is a wiki page about how to install the library: https://github.com/cppfw/svgren/blob/master/wiki/Main.adoc#installation
And in particular it refers to a wiki which describes how to set up my personal repos for different package management systems: https://github.com/cppfw/wiki/blob/master/EnableRepo.adoc

So, following this manual you have to add cppfw cocoapods repo to your Podfile.

Note, that recently I have moved all my libs to a separate github organization calledcppfw. This was done due to moving to github actions CI instead of Travi-CI because having organization gives some benefits for github actions, like possibility to share secret tokens between all repos of the organization. For that new organization cppfwI have also created new repos.
So, if you are using my libs with some other package management systems, please check that your set up repos are correct, i.e. have cppfw instead of igagis in their URLs/names (check the wiki page I referred above).
I will still keep the old repos for some time, but new versions of the libs will not be pushed to the old repos.

P.S.
@oziphantom by the way, is your app available in google play for checking out?

@oziphantom
Copy link
Author

aha
installation link was 404'in for me. That one works ;)
So it installed 5.3
explicitly setting it to <= 0.4.77

None of the spec sources contain a spec satisfying the dependency

PS Sadly the android version is not out as the cocos2d-x web view doesn't work on android and they don't seem to care. So now I'm rushing to get the iOS update out as the next book is Christmas Themed.

@igagis
Copy link
Member

igagis commented Dec 4, 2020

yes, the installation link was broken, I have just fixed it recently.

Do you need exactly version 0.4.77? Can't you use the latest one?

The old versions available in the old repo (same URL but cppfw->igagis). But I recommend you to move to the latest version, there are no much changes to the API, but it uses AGG instead of cairo, which gives more permissive license (cairo is LGPL).

@oziphantom
Copy link
Author

I tired 5.x on the android version and got a lot of broken conversions of the images. So anything that is 4.x is fine, the original ran 1.7.

I've got it to find the svg files now, but I have a bunch of other linker errors. So I'll have to go fight them before I can declare this working :D

As always, thank you for your help.

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

2 participants