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

Use xcframework only for supported OS #225

Merged
merged 2 commits into from
Nov 24, 2020
Merged

Conversation

code28
Copy link
Contributor

@code28 code28 commented Nov 23, 2020

This is not quite a solution for the problem of #224, but it's a running workaround. Otherwise, swift-sodium can't be used on server side projects on Linux - this makes it possible again.

@jedisct1
Copy link
Owner

That's a hack that may work around a current issue, but depending on another repository, and on different versions of the library doesn't seem like the best way to go.

@code28
Copy link
Contributor Author

code28 commented Nov 24, 2020

Yeah, you're right, it's not the best way, but this works. And since binary targets aren't supported on linux, I don't see another way to get this done, except from this workaround.
Regarding the dependency, I think, this can be added inside this repository. I'll give it a try.

@code28
Copy link
Contributor Author

code28 commented Nov 24, 2020

Now the change is even smaller and it doesn't depend on an external dependency.

@jedisct1 jedisct1 merged commit 98909b9 into jedisct1:master Nov 24, 2020
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

Successfully merging this pull request may close these issues.

2 participants