SwiftSSDP icon indicating copy to clipboard operation
SwiftSSDP copied to clipboard

Getting error by fetching dependency CocoaAsyncSocket

Open renpen opened this issue 8 years ago • 5 comments

Hi, installing the library with SPM throws the following error: error: https://github.com/robbiehanson/CocoaAsyncSocket.git has no manifest for version 7.5.1

My package.swift: import PackageDescription let package = Package( name: "SwiftSSDP", dependencies: [ .Package(url: "https://github.com/pryomoax/SwiftSSDP.git", majorVersion: 0, minor: 4)]) The other dependencies were fetched normally.

renpen avatar Apr 26 '17 18:04 renpen

CocoaAsyncSocket should not be in package.swift for SPM. It's a Objective-C library and SPM isn't able to (yet) deal with non-Swift build dependencies and README.md. I'll make the change, but you'll have to import CocoaAsync manually into your project.

Sorry about the unchecked build. I've been meaning to get around to trying setting up a CI.

happycodelucky avatar Apr 27 '17 18:04 happycodelucky

Any progress on this? I still get the same error with the latest version.

alopix avatar Aug 06 '17 09:08 alopix

Same error here. I can try and put together a PR if that would be helpful but I'm just learning Swift Package Manager right now so it might take a bit.

jhurliman avatar Nov 13 '17 20:11 jhurliman

please add CocoaPods support, it's the most used at the moment and SwiftPM doesn't work now.

dcristolovean avatar Feb 02 '18 12:02 dcristolovean

Sorry for lagging guys. I'm trying to find spare cycles to get back into this module and improve it.

happycodelucky avatar Feb 14 '18 19:02 happycodelucky