Xcode运行报错Failed to prepare device for development.解决办法
ThisoperationcanfailiftheversionoftheOSonthedeviceisincompatiblewiththeinstalledversionofXcode.Youmayalsoneedtorestartyourmacanddeviceinordertocorrectlydetectcompatibility.翻译:如果设备上的操作系统版本与安装的Xcode版本不兼