This is a sample of mixed swift and objective c using Buck build system.
# Install Buck
brew tap facebook/fb
brew install buck
# Then the JDK (superset of the JRE)
brew update
brew tap caskroom/cask
brew tap caskroom/versions
brew cask install java8
# Then...
brew install ant python git watchmanTo build target you can run this command
# Build app
make build appTo test target you can run this command
# Test app
make test appTo generate Xcode project, you can run this command
make project appThis will create App.xcodeproj and SwiftObjcBuck.xcworkspace inside App folder.
To support bridging header in Tests, we have to import objective c header files using relative paths. You can track this issue here