Working on a project with a huge amount of pods I had some troubles:
- Slow and unnecessary indexing of 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
Rugby is CLI tool that was developed to solve the above problems:
+ Cache all pods dependencies and remove their targets from the Pods project;
+ Rebuild only changed pods;
+ Remove unnecessary sources from a project and reduce project size;
+ Drop any unneeded targets with sources and resources by RegEx.
What makes it different?
You can read more about
Feel free to report any issues or suggest some new feature requests.
brew tap swiftyfinch/Rugby https://github.com/swiftyfinch/Rugby.git brew install rugby
How to use
Run in your project directory after each pod install:
pod install && rugby
|General Rugby documentation.|
|Convert pods to prebuilt dependencies.|
|Run a predefined sequence of commands.|
|Keep only selected targets and all their dependencies.|
|Remove any targets by RegEx.|
- Not supported WatchOS SDK
If you want to support this project, you can do some of these:
2) the project
3) in the discussions
If you have any questions or feature requests, feel free to open a discussion or an issue.