hendych / swift-objc-buck

Mixed swift and objective c build system using Buck

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

swift-objc-buck

This is a sample of mixed swift and objective c using Buck build system.

To Install

# 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 watchman

Build Target

To build target you can run this command

# Build app
make build app

Test Target

To test target you can run this command

# Test app
make test app

Generating an Xcode Project

To generate Xcode project, you can run this command

make project app

This will create App.xcodeproj and SwiftObjcBuck.xcworkspace inside App folder.

Known Issues

To support bridging header in Tests, we have to import objective c header files using relative paths. You can track this issue here

About

Mixed swift and objective c build system using Buck


Languages

Language:Python 31.9%Language:Swift 30.2%Language:Objective-C 28.1%Language:Makefile 8.4%Language:C 1.5%