Xcode 展示failed to prepare the device for development
- 首先打开链接找到https://gitee.com/Han0/iOSDeviceSupport 找到对应版本,解压
- 其次打开终端
- 输入
open /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
- 然后将解压后的文件夹放进去,即可
- 重启xcode
open /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport