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

The SPM cannot be used #325

Open
MidnightSmokingSoul opened this issue Jul 19, 2021 · 1 comment
Open

The SPM cannot be used #325

MidnightSmokingSoul opened this issue Jul 19, 2021 · 1 comment

Comments

@MidnightSmokingSoul
Copy link

Showing All Messages
https://github.com/evermeer/EVReflection.git has no Package.swift manifest in https://github.com/evermeer/EVReflection.git

@andrewreeman
Copy link

I've faced the same issue and created a swift package from EVReflection that can be used like this:

.package(name: "EVReflection", url: "git@github.com:andrewreeman/EVReflection.git", .upToNextMajor(from: "5.10.2))

This seems to work for me in that it does the essential serialisation/deserialization. It does not include any of the submodules like XML or Alamofire etc as I'm not sure how these should be done in SPM.
also had to comment out the EVReflectionEventKitTests.swift unit tests that just refused to compile when the project was opened as a swift package.

This probably isn't good enough for a pull request but maybe someone can use this as a good base to make a proper swift package then offer a superior pull request!

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

No branches or pull requests

3 participants