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

Xcode warning due to outdated dependency #5

Closed
simonmcl opened this issue Jul 8, 2021 · 4 comments
Closed

Xcode warning due to outdated dependency #5

simonmcl opened this issue Jul 8, 2021 · 4 comments
Assignees

Comments

@simonmcl
Copy link

simonmcl commented Jul 8, 2021

There is a warning in xcode when including this package thats coming from a dependency way down the chain. The problem is that you are using a fork of web3swift: https://github.com/rathishubham7/web3swift . This is using an outdated version of starscream and the fork itself is ~100 commits behind the official library.

I'm trying to keep my xcode clean and also very concerned about how outdated the dependencies are across these libraries. Can you please spend some time updating these? i've had to deal with a large number of issues and workarounds so far to get this imported, but I can't do anything about this one.

Screenshot 2021-07-08 at 12 48 14

@metallicalfa2
Copy link
Contributor

Which version of Xcode are you using?

(Starscream/web3swift has not released the latest version. 12.5 still fetches the older version of startscream)

@simonmcl
Copy link
Author

simonmcl commented Jul 9, 2021

@rathishubham7 i'm using Xcode 12.5. The versions have been released, see below

Starscream merged a PR to handle this in July 2020: daltoniam/Starscream#807
Starscream cut a tag 4.0.0 in august 2020: https://github.com/daltoniam/Starscream/tags
Official Web3Swift has been updated to this version: https://github.com/skywinder/web3swift/blob/develop/Package.swift

The problem is the version of web3Swift that this repo uses is very far behind

@metallicalfa2
Copy link
Contributor

There's a manifest parsing bug in the released version of web3swift. I can not pin the package to a branch because of the following (from swift documentation):

/// Note that packages that use branch-based dependency requirements
/// can't be depended upon by packages that use version-based dependency
/// requirements; you should remove branch-based dependency requirements
/// before publishing a version of your package.

Another solution is to update the fork.

@metallicalfa2
Copy link
Contributor

This has been fixed in the latest commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants