🌱 舒适的 Pod 安装



以更便捷的方式使用 CocoaPods ☕️

🦄 如果找到 Gemfile,则自动添加前缀 bundle exec
🚑 处理 Bundler 缺少 gems 错误 → bundle install
🚑 处理 CocoaPods 过时的 source repos 错误 → pod repo update
🌍 你不再需要在所有 Mac 之间手动同步所有别名
✨ 输出漂亮的日志和动画
🔔 结尾播放铃声
🚀 Swift 风格!

这个工具有很大帮助。我想知道是否有人也觉得它有用。
这是我旧仓库 🌱 Pods Install 的 Swift 版本
你可以在我的博客 📖 更多 中阅读。

使用 Homebrew 🍺 下载二进制文件

brew tap swiftyfinch/Pods https://github.com/swiftyfinch/Pods.git
brew install pods

使用 Mint 🌱 快速开始

brew install mint
mint install swiftyfinch/pods

# Now on Mint 0.17.0 you'll need to add ~/.mint/bin to your $PATH
# For example, add this to your ~/.zshrc file and relaunch terminal
export PATH=$HOME/.mint/bin:$PATH

观看 🎬 安装演示
它来自我的另一个项目,但思路是基本相同的。

如何使用 🏈

在你的项目目录中运行,而不是 pod install

pods install
# or just
pods

pods "update Alamofire Snapkit"
# or any subcommand
pods "<subcommand>"
# or in quiet mode (like in demo video)
pods -q

作者

随时联系我 📮