How to downgrade command line tools MacOS

我的未来我决定 提交于 2019-12-08 16:27:30

问题


I got a dynamic linker error with the __clock_gettime symbol so I did what this post said Missing symbol when installing ruby-2.3.0 on OS X 10.11.6 by RVM (i.e. xcode-select --install) and now I am getting loader errors that say that libraries were built for a newer OS version than the one I am currently running on, I dont want to upgrade my OS to the newer (Sierra) version though, is there a way you can downgrade the command line tools to an older version (10.11?)


回答1:


It's unclear which version of Xcode you are using, although it is possible to have multiple versions of the command-line tools installed, which can be selected in Xcode Preferences.




回答2:


Command Line tools come with Xcode. If you delete and downgrade Xcode it should do the trick. Once you delete Xcode from you applications, use "Previous versions of Xcode can also be downloaded here" link in https://developer.apple.com/support/xcode/. SPOILER ALERT: You need to have/create an apple dev account for this



来源:https://stackoverflow.com/questions/41327298/how-to-downgrade-command-line-tools-macos

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!