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

Problem:

When try to compile my c program the below error shows.


 gcc mythread.c -o mythread

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

Solution:

Just open the xcode and it will show the notification that want to agree the new user agreement.First accept that and continue the procedure after that run your code it will works good...

Comments

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

Saved Image in document directory and save path in coredata not able to fetch the image file iOS swift