This is not true. Pope Pius XI constantly spoke against National Socialism and its worldview, and defended the Jews. The Pope said that Christians are spiritually Jews. Which is what the New Testament also says.
He was correct, we *are* the actual Jews. The so-called jews are usurpers, defilers, charlatans, and consorters with devils. They have no right to call themselves such, they are probably the remnants of the wicked Canaanite nation who saw the destruction of Judea as a chance for them to claim the identity of the conquering race for themselves. As for calling out natsoc, what Pope Pius likely called it out for being too liberal and naturalistic. Those are the flaws that led to Hitler's defeat, because he failed to realize that the jewish threat was of a spiritual nature and not a simple racial struggle. As for defending the jews, I would assume Pope Pius XI mistakenly assumed they were the descendants of the actual ones, since all the genelogical records were destroyed and genetic testing didnt actually exist then.
https://pomf2.lain.la/f/epux801r.jpg
https://pomf2.lain.la/f/stn92se9.jpg
https://pomf2.lain.la/f/is2sn240.jpeg