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

SPM support #571

Merged
merged 7 commits into from
Oct 6, 2020
Merged

SPM support #571

merged 7 commits into from
Oct 6, 2020

Conversation

3a4oT
Copy link
Contributor

@3a4oT 3a4oT commented Oct 1, 2020

This is POC.

  • Depends on Added SPM support PINCache#283.

  • Use only for SPM https://github.com/SDWebImage/libwebp-Xcode - libwebp wrapper. (submodule pointed to libwebp GitHub mirror)

  • The current PINRemoteImage source files layout is hard to adopt for SPM. To allow build with SPM I added the include folder and moved all public headers to it.

  • SPM test target is omitted since currently, PINRemoteImageTests contains mixed sources (Objective-C and Swift) which are not supported by SPM. Tests sources should be restructured in the way we could make two separate test targets for Swift sources and Objective-C. As far as we can perform testing using the Xcode project to run tests I think it's fine to leave it as is.

  • Carthage doesn't support Xcode 12 yet. Pinned to Xcode 11.7

@garrettmoon
Copy link
Collaborator

@3a4oT Looks good to me! Thank you for putting up this PR!

@garrettmoon garrettmoon merged commit 217804d into pinterest:master Oct 6, 2020
@3a4oT
Copy link
Contributor Author

3a4oT commented Oct 6, 2020

@garrettmoon thanks! Can you please review follow up commits #573?

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