Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 1.16 KB

README.md

File metadata and controls

15 lines (10 loc) · 1.16 KB

Examples

This directory holds several examples using rules_xcodeproj. To open an example, run the bazel run //:xcodeproj command from within each directory, then run xed . to open the generated project.

  • cc
    Contains a command line tool written purely in C, exercising many possible use cases of the cc rules in Bazel (consumes cc_binary, cc_library, external cc_library).

  • integration
    Contains many targets to exercise all of the rules_apple rules, along with various ways of using rules_xcodeproj itself (e.g. multi-platform consolidated targets, SwiftUI Previews, device support, etc.).

  • sanitizers
    Contains targets to test Sanitizers in BwB mode. The main purpose is to make sure sanitizers in BwB mode work and give UI feedback the same way sanitizers do in BwX builds.

  • simple
    Contains a "Hello World" swift_binary target. This example's main purpose is to have a target without Bazel External Repositories or Bazel Generated Files groups in Xcode, and no BazelDependencies target in BwX mode.