项目作者: hendych

项目描述 :
Mixed swift and objective c build system using Buck
高级语言: Python
项目地址: git://github.com/hendych/swift-objc-buck.git
创建时间: 2019-01-25T11:14:10Z
项目社区:https://github.com/hendych/swift-objc-buck

开源协议:

下载


swift-objc-buck

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

To Install

  1. # Install Buck
  2. brew tap facebook/fb
  3. brew install buck
  4. # Then the JDK (superset of the JRE)
  5. brew update
  6. brew tap caskroom/cask
  7. brew tap caskroom/versions
  8. brew cask install java8
  9. # Then...
  10. brew install ant python git watchman

Build Target

To build target you can run this command

  1. # Build app
  2. make build app

Test Target

To test target you can run this command

  1. # Test app
  2. make test app

Generating an Xcode Project

To generate Xcode project, you can run this command

  1. 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