Luis Padron

Results 49 issues of Luis Padron

When depending on the Tidal SDK for iOS: https://github.com/tidal-music/tidal-sdk-ios And running a build: ``` bazel build @swiftpkg_tidal_sdk_ios//... ``` I get the following error: ``` ERROR: /private/var/tmp/_bazel_lpadron/9ae9416857eb79bb978de35a53d54970/external/rules_swift_package_manager~0.33.0~swift_deps~swiftpkg_grdb.swift/BUILD.bazel:31:14: in deps attribute of...

enhancement

Error: ``` ERROR: /private/var/tmp/_bazel_lpadron/d8d9324fa7fd2d11d5178d8cf2834c55/external/bazel_tools/tools/objc/BUILD: no such target '@@bazel_tools//tools/objc:j2objc_dead_code_pruner_binary': target 'j2objc_dead_code_pruner_binary' not declared in package 'tools/objc' defined by /private/var/tmp/_bazel_lpadron/d8d9324fa7fd2d11d5178d8cf2834c55/external/bazel_tools/tools/objc/BUILD (did you mean j2objc_dead_code_pruner_binary.py?) ERROR: /Users/lpadron/Development/rules_apple/test/starlark_tests/targets_under_test/apple/BUILD:313:18: every rule of type apple_xcframework implicitly...

This primarily does two changes: - Passes `-Xcc -DSWIFT_PACKAGE` for the Swift library target generated `copts` attribute. - Removes de-duplication in `bzl_selects.bzl` - This is required because `copts = ["-DSWIFT_PACKAGE",...

Showcases an issue with `SWIFT_PACKAGE` defines when consuming a Swift Package like: https://github.com/luispadron/swift-package-defines-example The package above builds with `swift build` but fails when building through bazel with: ```sh bazel build...

When a Swift target depends on an Objective-C target that uses `#if SWIFT_PACKAGE` we are currently only adding the `-DSWIFT_PACKAGE` to `copts` but we should also be adding `-Xcc -DSWIFT_PACKAGE`...

We started using `apple_*_xcframework_import` rules to bring in XCFrameworks and we are getting failures during queries because of the `use_tree_artifacts_outputs` flag. We don't actually use the versioned macOS frameworks in...

The files from `swiftpkg` repositories should be marked read-only (locked) when creating the repositories. This helps ensure users do not accidentally modify a packages contents.

enhancement

swift-syntax 6.1 is out and the current version specification is blocking upgrades for other packages.

Cherry-pick: https://github.com/bazelbuild/rules_apple/commit/5931f36f11ab47c30db5ea0453abecfb5bac331c

This leaves the "examples" targets alone, as we're assuming that they should be documentation. Cherry-pick: https://github.com/bazelbuild/rules_apple/commit/ce6f443590f424fed6839a88bbf6feec301c8904