rules_xcodeproj
rules_xcodeproj copied to clipboard
Bazel rules for generating Xcode projects.
Currently we compute all of the linkopts for all targets in `generator`. This is wasteful for a couple reasons: - If the target is never linked (e.g. test targets), we...
I haven't updated tests yet, can someone confirm this is the right approach, or if there is something obvious I'm missing? Some notes: apple is a little inconsistent with "visionos"...
### Description I have a `macos_dynamic_framework` target we use for distribution, this works fine for normal builds in BwB but when trying to use previews we get the following error:...
This is the top search in our repo, and it's not always clear how to enable previews for `swift_library` targets.
## Description We'd like to avoid using `_CompileStub_.m` as much as possible and display a proper source file list in `Compile Sources` to enable SwiftUI Previews. ## Motivation Since our...
### Description ``` WARNING: Option 'experimental_remote_download_regex' is deprecated: Use --remote_download_regex instead ``` ### Reproduction steps Build one of the examples when using Bazel 7+. ### Expected behavior We should adjust...
### Description Using Address Sanitizer in physical device cause error ``` dyld[17268]: Library not loaded: @rpath/libclang_rt.asan_ios_dynamic.dylib Referenced from: /private/var/containers/Bundle/Application/A614A60F-3AC2-4585-9E18-F89AC83FF032/AddressSanitizerApp.app/AddressSanitizerApp Reason: tried: '/usr/lib/system/introspection/libclang_rt.asan_ios_dynamic.dylib' (no such file, not in dyld cache), '/usr/lib/swift/libclang_rt.asan_ios_dynamic.dylib'...
**change** add swift target that depends on objc **Repro** 1. go to rules_ios example dir 2. run `bazelisk clean --expunge` 3. run `rm -rf ~/Library/Developer/Xcode/DerivedData/rules_ios-[id]` to delete derived data for...
Issue : Xcode schemes were not sorted as expected Cause : Scheme sorting hint file was included under xcuserdata dir and was not being rsycn due to existing --exaclude pattern....