OHHTTPStubs
OHHTTPStubs copied to clipboard
OHHTTPStubs with SPM in Xcode 12.5
New Issue Checklist
- [x] I have tried with the latest version of OHHTTPStubs
- [x] I have read the README
- [x] I have read the Using the right Swift Version of
OHHTTPStubs
for your project section - [x] I have searched in the existing issues
- [x] I have read the OHHTTPStubs wiki to see if there wasn't a detailed page talking about my issue
Environment
- version of OHHTTPStubs: 9.1.0
- integration method you are using:
- [ ] Cocoapods
- [ ] Carthage
- [ ] submodule
- [x] other (SPM)
- version of the tool you use: Xcode 12.5.1
Issue Description
Stubs are being added but test condition block is never called. I am using Xcode 12.5.1 and thus Swift 5.4.2. I think I have an identical setup to #346 because I am also using UI tests without a host application.
@LemonSpike : can refer here If you have found a work around may I request to close this issue. If you did not have success yet. I will be happy to raise a pr on your sample project link to fix it. thanks.