问题
Xcode版本太低,手机版本比较高,导致不能真机调试
The current device configuration is unsupported. This iPhone 8 (Model A1863, A1905, A1906, A1907) is running iOS 14.3 (18C66), which is not supported by Xcode 12.1.
解决方案
方案1:老老实实升级xcode,一般要重新下载(10G左右);
方案2:下载对应布丁:
打开路径,可以看到你Xcode可以支持的ios版本号
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
从网上下载需要版本号的布丁,解压拖进去就ok了
https://github.com/RayJiang16/iOSDeviceSupport
https://github.com/JinjunHan/iOSDeviceSupport