Working on a project with a huge amount of remote pods I had some troubles:
- Slow and unnecessary indexing of remote pods targets, which implementation I rarely try to edit;
- Redundant rebuild time, probably as a result of problems CocoaPods hooks or Xcode build system;
- Freezing UI during navigation.
You can read π full story on my blog.
π Rugby is CLI tool that was developed to solve the above problems:
+ Cache all remote pods dependencies and remove their targets from the Pods project;
+ Rebuild only changed remote pods;
+ Remove unnecessary sources from a project and reduce project size;
+ Drop any unneeded targets with sources and resources by RegEx.
π Not a dependency
π Doesn't change Podfile
π Custom steps
π Metrics after each command
β¨ Fancy log output
π Swiftish!
Ruby alternatives:
- CocoaPods Binary
- PodBuilder
- CocoaPods Binary Cache
You can read more about π Rugby in discussions section.
Feel free to report any issues or suggest some new feature requests.
Quick start with HomebrewπΊ
brew tap swiftyfinch/Rugby https://github.com/swiftyfinch/Rugby.git
brew install rugbyGet new version:
brew upgrade rugbyRun in your project directory after each pod install:
pod install && rugbyOr read more about Plans
| Command | Description |
|---|---|
π Help |
General Rugby documentation. |
π Cache |
Convert remote pods to prebuilt dependencies. |
Plans |
Run a predefined sequence of commands. |
π Focus |
Keep only selected targets and all their dependencies. |
π Drop |
Remove any targets by RegEx. |
- New command - Focus
- Optimization
- Improve Cache command
- Open source
Vyacheslav Khorkov
Twitter: @SwiftyFinch
Blog: swiftyfinch.github.io
Feel free to contact me for any questions.
