如何安装早期版本的 xcproj

How to install earlier versions of xcproj

我用

重新安装了 xcproj
brew uninstall xcproj
brew install xcproj

这安装了当前版本 (0.2.1),但我需要版本 0.1(与我当前项目的兼容性问题)。我尝试了 Homebrew install specific version of formula? 中描述的方法,但找不到如何安装早期版本的 xcproj。如何安装 0.1 版?

我最终通过手动构建和安装 xcproj 解决了这个问题

brew uninstall xcproj
git clone https://github.com/0xced/xcproj.git
git checkout 0.1.2
xcodebuild install DSTROOT=/