Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo 根据提示打开xcode 点击agree安装