We propose a general analytic method to study the localization transition in one-dimensional quasicrystals with parity-time ($mathcal{PT}$) symmetry, described by complex quasiperiodic mosaic lattice models. By applying Avilas global theory of quasiperiodic Schrodinger operators, we obtain exact mobility edges and prove that the mobility edge is identical to the boundary of $mathcal{PT}$-symmetry breaking, which also proves the existence of correspondence between extended (localized) states and $mathcal{PT}$-symmetry ($mathcal{PT}$-symmetry-broken) states. Furthermore, we generalize the models to more general cases with non-reciprocal hopping, which breaks $mathcal{PT}$ symmetry and generally induces skin effect, and obtain a general and analytical expression of mobility edges. While the localized states are not sensitive to the boundary conditions, the extended states become skin states when the periodic boundary condition is changed to open boundary condition. This indicates that the skin states and localized states can coexist with their boundary determined by the mobility edges.