Open rgal75 opened 10 months ago
I added ViewControllerPresentationSpy as an SPM dependency.
ViewControllerPresentationSpy
When building the unit test target I am getting
Cannot find 'XCTFail' in scope Macro 'XCTFail' unavailable: function like macros not supported
Cannot find 'XCTFail' in scope
compile time errors in AlertVerifier, DismissalVerifier, e.t.c. wherever an XCT... function is used.
AlertVerifier
DismissalVerifier
XCT...
Could you, please help me understand what could cause there errors?
Thanks in advance.
PS.: I am using Nimble, as well. It uses the XCT... functions, too and I do not get these compile-time errors with it.
Nimble
Apologies, I didn't see your issue until just now.
Is it possible for you to share your code with me? Feel free to email me.
You can also compare against the SwiftSamplePackage in this repo.
I added
ViewControllerPresentationSpy
as an SPM dependency.When building the unit test target I am getting
compile time errors in
AlertVerifier
,DismissalVerifier
, e.t.c. wherever anXCT...
function is used.Could you, please help me understand what could cause there errors?
Thanks in advance.
PS.: I am using
Nimble
, as well. It uses theXCT...
functions, too and I do not get these compile-time errors with it.