Light detection and ranging (LiDAR), combining traditional radar technology with modern laser technology, has much potential for applications in navigation, mapping, and so on. Benefiting from the superior performance, an all-solid-state beam steering realized by integrated optical phased array (OPA) is one of the key components in the LiDAR system. In this review, we first introduce the basic principle of OPA for beam steering. Then, we briefly review the detailed advances of different solutions such as micro-electromechanical system OPA, liquid crystal OPA, and metasurface OPA, where our main focus was on the recent progress of OPA in photonic integrated chips. Finally, we summarize the different solutions and discuss the challenges and perspectives of all-solid-state beam steering for LiDAR.