iOS Unit Testing by Example

Title: Name of book: iOS Unit Testing by Example
I bought the ebook and downloaded the example codes but I couldn’t run unit tests because the below error : “module compiled with swift 5.2 cannot be imported by the swift 5.3 compiler…” on new Xcode 12

Can you tell me how to fix it?
Thanks,
Vinh

1 Like

Vinh,

I just updated ViewControllerPresentationSpy. You can get the latest build here: https://github.com/jonreid/ViewControllerPresentationSpy/releases

Unfortunately an update for FBSnapshotTestCase hasn’t been released yet. I recommend downloading the source code and building it yourself.

– Jon

1 Like

It’s working now. Thank Jon.

1 Like