-
-
Notifications
You must be signed in to change notification settings - Fork 871
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
WIP: Swift Package Manage Support #1659
Conversation
Thanks for opening this pull request!
|
Hi, @mman I have a doubt about this. Why this was needed? |
@ricky641b It was not necessary to remove Cocoapods and Carthage build files. But I did it to have clean table. To simplify Also, I removed the Facebook SDK as I do not need it but proper solution would be to depend on it via SPM as well… |
See my comment #1453 (comment) regarding carthage and cocoapods. |
Closing in favor of #1683 |
This PR is here for a reference and list of steps that need to be done in order to support Swift Package Manager correctly.
Here is the quick list of things that I have made in order to support Swift Package Manager on at least iOS, iPadOS, macOS, and macCatalyst.
removed facebook sdk and long with all git submodules
removed Carthage and Cocoapods related files
removed Parse xcodeproj, xcworkspace, and xcconfig files
removed Rakefile and Gemfile used to build binary distributions
added Package.swift
added dependency on Bolts and OCMock with SPM support
moved files around to strictly adhere to public headers, and private headers and sources
fixed includes for private headers
wrapped platform specific code inside C
#if
statements as swift package support does not (yet) support this nicelyNot ready for merge, serves only as an inspiration and proof of concept