Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCMock with Swift Package Manager #335

Open
mRs- opened this issue Feb 26, 2020 · 9 comments
Open

OCMock with Swift Package Manager #335

mRs- opened this issue Feb 26, 2020 · 9 comments

Comments

@mRs-
Copy link

mRs- commented Feb 26, 2020

Is there a plan to use OCMock with Swift Package Manager? Would be awesome to stub Apples Objective-C classes with Cuckoo via SPM 馃榾

@TadeasKriz
Copy link
Member

TadeasKriz commented Feb 26, 2020

Unless OCMock is available through SwiftPM, I'd think this wouldn't be possible.

@mRs-
Copy link
Author

mRs- commented Feb 26, 2020

Okay, will take care of getting OCMock in SwiftPM then 馃榾

@mRs-
Copy link
Author

mRs- commented Feb 26, 2020

It seems there is already a Pull Request at OCMock erikdoe/ocmock#379. I reached out to them. Maybe we can get some traction there 馃憤

@MatyasKriz MatyasKriz added the awaiting reply A Cuckoo maintainer is awaiting reply from the issue/PR creator. label Feb 29, 2020
@mRs-
Copy link
Author

mRs- commented Jul 16, 2020

Pull Request on OCMock is coming in erikdoe/ocmock#442

@MatyasKriz
Copy link
Collaborator

Hey, @mRs-. Thanks for the update!

@mRs-
Copy link
Author

mRs- commented Aug 19, 2020

Is it possible to fork OCMock for the time being and add the revision to SPM? Like Firebase is doing this? https://github.com/firebase/firebase-ios-sdk/blob/master/Package.swift#L123

@MatyasKriz
Copy link
Collaborator

Hey, @mRs-. Thanks for the update on this and proposed temporary solution. I don't see an issue with this as long as the SPM-added OCMock works fine with Cuckoo.
What do you think, @TadeasKriz ?

@kainjow
Copy link
Contributor

kainjow commented Jun 11, 2021

@MatyasKriz
Copy link
Collaborator

Thank you for the update. 馃檪 So I suppose nothing prevents us to implement support for OCMock with SwiftPM now.

@MatyasKriz MatyasKriz added enhancement and removed awaiting reply A Cuckoo maintainer is awaiting reply from the issue/PR creator. labels Feb 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants