Mitmproxy not working with iOS 13

Hello, I can’t view mobile traffic with iOS 13.1.2
everything was fine with iOS 12.x
But when I have updated iOS. mitmproxy stopped working for me. I’m installing certificate from mitm.it but it still won’t work. I’m using MacOS 10.14.6 (Mojave, did not update it yet) + Mitmproxy version: 2.0.1 (release version).
Anyone has the same issue?

I resolved the issue by upgrading mitmproxy to 4.0.4:
“brew upgrade mitmproxy”
and installing missing dependencies when asked to:
“xcode-select --install”