JSONFeed icon indicating copy to clipboard operation
JSONFeed copied to clipboard

Having trouble setting up SPM

Open perryprog opened this issue 7 years ago • 5 comments

I'm trying to get SPM to work, and I'm worried that we might need to change the file layout.

If you look at any project that supports SPM, they all have the typical Swift package layout, while this project has the Xcode framework layout.

I think we should either make a new repo, build on SPM, and the Swift package layout (this thing)

├── Package.swift
├── Sources
│   └── hellothere.swift
└── Tests
    ├── LinuxMain.swift
    └── hellothereTests
        └── hellothereTests.swift

Or, we could just make a fork (or something similar, idk) that completely overwrites everything we had. Or, just not support SPM. (I don't think we should do that however)

Using my second option we can easily support Linux, all platforms, Carthage and Coccapods, and have a simpler directory format. Obliviously this is completely up to you, as you wrote all the code.

perryprog avatar May 28 '17 17:05 perryprog