Closed JackCostigan closed 4 years ago
Hey @JackCostigan , is this still an issue for you?
As the Swift Package Manager can now be used for any apple platform (and is super convenient out of xcode), I am planning to restructure the folders.
At the moment the Example app inside the Example
folder installs it's KDTree dependency via Cocoapods, but I'm planning to make it use SPM.
The root folder shouldn't even have any workspace or xcodeproj, just the Package.swift
is enough.
I'll probably also put a note into the Readme.md that cocoapods are discouraged and only supported for legacy systems, and I'll probably stop supporting cocoapods sometime next year.
Using SPM with xcode is as simple as pressing this button:
And then copying the url to this repository in.
I checked with friends and colleagues and noone found a compelling reason not to go SPM only from now on.
So as of version 1.4.0 KDTree
will loose the cocoapods and carthage bulk, so only the Package.swift
has to be updated from now on.
Currently KDTree doesn't work with Carthage. See demo project here.
The carthage command fails with the error:
I beleive the issue is because Carthage is unable to find any schemes to build. I opened a PR here to fix the issue.
Please let me know if you want any more details.