rules_xcodeproj
rules_xcodeproj copied to clipboard
Bazel rules for generating Xcode projects.
## Describe the bug SwiftUI previews fail to generate in xcode. The diagnostic shows the following error ``` compile command failed due to signal 6 (use -v to see invocation)...
## Describe the bug Given the following declaration: ```starlark [ xcodeproj( name = "xcodeproj-{0}-{1}".format(build_mode, ios_simulator_cpus), build_mode = build_mode, ios_simulator_cpus = ios_simulator_cpus, ... ) for build_mode in [ "bazel", "xcode", ]...
Basically, I want it so this logic-flow works: - Need to launch it? Add a `launch_action`. It will implicitly get a `profile_action` as well. If that isn't desired, set `None`...
## Describe the bug ``` PhaseScriptExecution Generate\ Files /Users/user/Library/Developer/Xcode/DerivedData/Projects-fypotnookqgqmegzxfveuwcvjqgb/Build/Intermediates.noindex/Projects.build/rules_xcodeproj/Script-13F45F77FBD42E72938E9FF1.sh (in target 'BazelDependencies' from project 'Projects') cd /Users/user/app /bin/sh -c /Users/user/Library/Developer/Xcode/DerivedData/Projects-fypotnookqgqmegzxfveuwcvjqgb/Build/Intermediates.noindex/Projects.build/rules_xcodeproj/Script-13F45F77FBD42E72938E9FF1.sh /Users/user/app/Projects.xcodeproj/rules_xcodeproj/bazel/bazel_build.sh: line 156: /Users/user/app/Projects.xcodeproj/rules_xcodeproj/create_xcode_overlay.sh: No such file or directory Command...
After #1040, we have index store data imported into a location that Xcode can find it. That's not enough to enable indexing of unfocused targets though. Minimally we will also...
Currently there is only the Debug configuration in generated projects. We should support defining multiple configurations if possible. (If possible, because currently `--config` can only be supported if the output...
## Describe the bug When editing code in a test target, the following error is displayed in the code editor: ``` Malformed compiled module: /Users/me/Library/Developer/Xcode/DerivedData/ProjectName-gycnzekyazbslbeaqlxvvzaelfei/Index/Build/Products/bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-8e7a2d80b97f/bin/directory/ModuleName.swiftmodule/arm64-apple-ios-simulator.swiftmodule ``` ## Reproduction steps I...
In our current project generator, top-level targets are auto-discovered based on the provided target kinds. For example, if we request `ios_application` and `ios_unit_test` in the `//path/to/package` package, all `ios_application` and...
Related to #906. Today, the environment variable expansion context defaults to the launch action target. It may be desirable to allow a client to set it to no context.
The benefit is that Xcode will use the icons in its user interface (e.g., schemes). ## Tasks - [x] #932 - [x] #966 - [x] Fix issues when there are...