Group Group Group Group Group Group Group Group Group

Chapter 6 - Argument type 'MockPedometer?' does not conform to expected type 'Pedometer'

On page 122, it says to update AppModelTests with the following:

mockPedometer = MockPedometer()
sut = AppModel(pedometer: mockPedometer)

I get the following error:

Argument type ‘MockPedometer?’ does not conform to expected type ‘Pedometer’

I’m using Xcode Version 11.3 (11C29)

Any help in pointing to a solution would be appreciated.

Got it. Restarting from the beginning of Chapter 6 worked. Darn gremlins!!

@steveb_la Really glad you sorted it out! Cheers! :]