This repo contains collections of BUCK for cocoapods projects.
The goal of this repo is to have as many cocoapods projects to ease the migration to using Buck Build
# Install Buck
make install_buck
Note: you may need to install Java 8 before buck
will run for you locally.
To generate the project from the terminal, just run make project
. You can then run in the simulator or press Cmd + U
to run the tests.
You may also use breakpoints, just like normal when using the generated Xcode project.
- Fork the repo and create your branch from
master
. - Added the pod in podfile.
- Added the newly added the rule into BUCK.
- Import the newly added pod into ViewController.
- Make sure the project can run without any crash.
- https://github.com/airbnb/BuckSample
- https://github.com/airbnb/BuckSample/blob/master/Pods/BUCK gives a few examples on how we build CocoaPods with Buck
- https://github.com/airbnb/BuckSample/blob/master/App/BUCK is the main build file which shows how we setup resources/assets and build the final binary/ipa file.
- https://www.youtube.com/watch?v=8OF7L3SdY5U "Fast reliable Swift builds with Buck" - Robbert van Ginkel
- https://www.youtube.com/watch?v=uvNI_E0ZgZU "Ludicrously Fast Builds with Buck" - Simon Stewart
Buck Build channel https://buckbuild.slack.com.