Closed iharandreyev closed 3 months ago
The issue occurs when I use iOS 17.5 simulator as a test run destination. When running on iOS 15.5 simulator, there's no crash
Hi @iharandreyev, I am not able to reproduce this. I have run it in a variety of simulators and it all seems to work fine. Can you please provide a project that demonstrates the problem?
I am also going to convert this to a discussion for the time being because it's not clear there is an actual issue with the library. Let's continue the conversation over there.
Description
The error in question happens when I'm trying to test the following feature
with a test below
Checklist
main
branch of this package.Expected behavior
Test fails with an invalid behavior error
Actual behavior
Test crashes with
Could not cast value of type 'Observation.ObservationRegistrar' to 'Perception._PerceptionRegistrar'
error inPerception/PerceptionRegistrar.swift:52
Steps to reproduce
Run the code in the description
The Composable Architecture version information
1.10.4
Destination operating system
iOS 15.0
Xcode version information
15.4
Swift Compiler version information