rabbitmq / rabbitmq-objc-client

RabbitMQ client for Objective-C and Swift
https://rabbitmq.com
Other
241 stars 84 forks source link

Support for Swift Package Manager #134

Closed gperdomor closed 5 years ago

gperdomor commented 6 years ago

Please add support for SPM :D

michaelklishin commented 6 years ago

I'm not sure how common it is to distributed Objective-C frameworks via SPM but some research suggests it is certainly possible.

cliapis commented 6 years ago

Hi, Do you have any plans to support a native Swift implementation? Server side Swift cannot use objective c code.

Thank you.

michaelklishin commented 6 years ago

@cliapis please ask questions on rabbitmq-users. There are plans but our team is very small and it's never a priority. We'd be happy to provide guidance to someone who'd be interested in developing a Swift client.

michaelklishin commented 5 years ago

A new round of research suggests that even if possible, distributing Objective-C code via SPM is a major pain. Our dependencies (e.g. CocoaAsyncSocket) do not provide SPM manifests, which doesn't help.

I'm afraid this is a no-go given how much time I have for this library. That time would be better spent working on a native Swift client ;)

tadman commented 4 years ago

It's worth noting an alternative is to use a STOMP client on a STOMP-enabled RabbitMQ server. That's a plugin that comes with, it just needs to be enabled.

While not as full-featured as a proper AMQP connection, it's better than nothing.