you may should do an xcode license agreemnet, to check it type
git
in your terminal and agree to the agreement, and restart your VS code