“Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.” when using GCC

后端 未结 11 1189
故里飘歌
故里飘歌 2020-11-30 16:54

While attempting to compile my C program, running the following command:

gcc pthread.c -o pthread

Returns:

Agreeing

11条回答
  •  遥遥无期
    2020-11-30 17:25

    Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.

    A new version of OSX or XCode was installed and Apple wants you to agree to their Terms and Conditions. So just launch Xcode and "Agree" to them.

提交回复
热议问题