MacBook-Pro:IdeaProjects $ git
xcrun: error: unable to load libxcrun (dlopen(/Library/Developer/CommandLineTools/usr/lib/libxcrun.dylib, 0x0005): tried: '/Library/Developer/CommandLineTools/usr/lib/libxcrun.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need '')), '/System/Volumes/Preboot/Cryptexes/OS/Library/Developer/CommandLineTools/usr/lib/libxcrun.dylib' (no such file), '/Library/Developer/CommandLineTools/usr/lib/libxcrun.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need ''))).
Book-Pro:IdeaProjects $
MacBook-Pro:IdeaProjects $ git --version
You have not agreed to the Xcode license agreements. You must agree to both license agreements below in order to use Xcode.
Press the 'return' key to view the license agreements at '/Applications/Xcode.app/Contents/Resources/en.lproj/License.rtf'
deMacBook-Pro:IdeaProjects $ git --version
git version 2.37.1 (Apple Git-137.1)
git 在mac电脑中安装,必须提前安装Xcode
最新推荐文章于 2024-10-09 09:30:57 发布
880

被折叠的 条评论
为什么被折叠?



