Please re-check you have selected correct, latest version of xcode in Command line tools.
XCode -> Preference -> Locations -> Command Line Tools
Change xcode-select
developer directory to /Applications/Xcode.app/Contents/Developer
Run
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
NB:
Xcode.app
-> Your XCode app name
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.