flutter在安装配置真机时执行以下命令:
brew install --HEAD libimobiledevice
brew install ideviceinstaller ios-deploy cocoapods
pod setup
报了以下错误:
Error: Your Command Line Tools are too outdated.
Update them from Software Update in System Preferences or run:
softwareupdate --all --install --force
If that doesn't show you any updates, run:
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install
Alternatively, manually download them from:
https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 13.4.
解决:进入该网址 https://developer.apple.com/download/more/,使用app store登录开发者中心,然后搜索 Command Line Tools for Xcode 13.4.,下载安装即可
网友评论