Skip to content

Some examples of how Airbnb uses Buck to build mixed target iOS apps

Notifications You must be signed in to change notification settings

stephengroat/BuckSample

 
 

Repository files navigation

BuckSample

This is a sample to show how to use Buck to build an iOS project with mixed languages (Swift & Objective C) at Airbnb.

Build Status

To Install

# Install Buck
brew tap facebook/fb
brew install buck

Running Tests

Press Cmd + U to run the unit tests for the ExampleApp target inside Xcode.

Or, from the terminal you can run make test.

Viewing Targets

You may run make targets to see a list of Buck targets available to build/test/etc.

Generating an Xcode Project

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.

References

  1. https://github.com/airbnb/BuckSample/blob/master/Pods/BUCK gives a few examples on how we build CocoaPods with Buck
  2. 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.

Buck Build channel https://buckbuild.slack.com.

About

Some examples of how Airbnb uses Buck to build mixed target iOS apps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 36.9%
  • Swift 27.5%
  • Ruby 24.0%
  • Objective-C 6.1%
  • Makefile 5.3%
  • MATLAB 0.2%