The scalar quantum field operator is defined
$$\phi_0(\vec x,t) = \int \frac{d^3 p}{(2\pi)^3} \frac{1}{\sqrt{2\omega_p}} \left(a_p e^{-ipx}+a_p^{\dagger}e^{ipx}\right)$$
in Schwartz eq. 2.78. Here $\omega_p = \sqrt{\vec{p}^2+m^2}$. One can show that
$$\int \frac{d^3\vec{k}}{2\omega_k} = \int d^4k \delta(k^2-m^2)\theta(k^0)$$
is a Lorentz invariant measure. I don't see how the measure in the definition of the quantum field is Lorentz invariant because of that square root.