下载安装
Command Line Tools for Xcode
https://developer.apple.com/download/more/?name=for%20Xcode%20-#
Display package, and then enter / Contents / Resources / Packages /
into the following two directories, two installation pkg.
MobileDevice.pkg
MobileDeviceDevelopment.pkg
Reference:
https://www.e-learn.cn/content/wangluowenzhang/522545
https://blog.csdn.net/li6727975/article/details/42919351