xcode添加路径,将下载好的iOS12.1文件解压复制:/applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport文件夹下,然后直接运行xcode就可以了