Mockingjay icon indicating copy to clipboard operation
Mockingjay copied to clipboard

Swift Package Manager support

Open fukamachi opened this issue 6 years ago • 9 comments

As the only dependency URITemplate supports it, just adding Package.swift would work fine.

fukamachi avatar Sep 11 '17 02:09 fukamachi

It will require additional changes as Mockingjay has mixed sources (Objective-C and Swift) in the same target which is not supported by Swift Package Manager.

kylef avatar Sep 28 '17 08:09 kylef

what is the status here?

armintelker avatar Dec 15 '19 10:12 armintelker

This would be useful... The changes regarding mixed sources wouldn't be just a matter of translating MockingjayURLSessionConfiguration.m to swift? 🤔

You could even keep both and use .m for pods and .swift for SPM (not really sure of the impact of the changes on ObjC projects...)

jfmiguel avatar Jun 16 '20 17:06 jfmiguel

I have a copy here: https://github.com/saltzmanjoelh/Mockingjay.git

@kylef Thoughts? I simply put the swizzling in where the MockingjayProtocol is registered.

saltzmanjoelh avatar Sep 25 '20 14:09 saltzmanjoelh

@saltzmanjoelh My version corrects the build for Cocoapods and includes your version with the SwiftPM support: https://github.com/ppamorim/Mockingjay

ppamorim avatar May 17 '21 00:05 ppamorim

What is the status of this? Is there any progress in supporting SMP?

I like MockingJay very much and would love to keep using it...

chbeer avatar Oct 15 '21 08:10 chbeer

@chbeer I think this is dead. You could try ppanmorim's in the comment above.

saltzmanjoelh avatar Oct 15 '21 17:10 saltzmanjoelh

Although I do see some recent commits?

saltzmanjoelh avatar Oct 15 '21 17:10 saltzmanjoelh

Maybe @ppamorim can issue a PR for SPM?

chbeer avatar Oct 15 '21 19:10 chbeer