-
When I send an action to the store that has nil state, I get the following error on the Xcode console:
The expected output is like the following:
You can reproduce this with the TicTacToe example. - @ViewAction(for: Login.self)
public struct LoginView: View {
// ...
Button {
- send(.loginButtonTapped)
+ store.send(.twoFactor(.presented(.view(.submitButtonTapped)))) // This is just an example. This might be the cause. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @takehilo, I'm not sure there is much we can do about this. It seems like Xcode has changed its behavior. I'm curious if Apple's own purple runtime warnings have this behavior too. I don't have time to check, but do you? |
Beta Was this translation helpful? Give feedback.
I tried this and fixed it!
https://stackoverflow.com/questions/78129981/logging-error-failed-to-initialize-logging-system-log-messages-may-be-missing