【笔记】通过命令行同意Xcode协议

前言

通过命令行同意Xcode协议
调用xcode-command-line工具时报错:You have not agreed to the Xcode license. Please resolve this by running: sudo xcodebuild -license accept

正文

1
sudo xcodebuild -license accept

完成