Skip to content

Resource bundle names don't match SPM for GoogleUtilities #1724

@jflan-dd

Description

@jflan-dd

For this package https://github.com/google/GoogleUtilities/blob/60da361632d0de02786f709bdc0c4df340f7613e/Package.swift

SPM generates bundles named like GoogleUtilities_GoogleUtilities-AppDelegateSwizzler.bundle, but rules_swift_package_manager generates bundles named like GoogleUtilities_GoogleUtilities_AppDelegateSwizzler.bundle.

I'm assuming this is a result of using the c99name from desc.json rather than the name.

    {
      "c99name" : "GoogleUtilities_AppDelegateSwizzler",
      "module_type" : "ClangTarget",
      "name" : "GoogleUtilities-AppDelegateSwizzler",
      "path" : "GoogleUtilities/AppDelegateSwizzler",
      "product_memberships" : [
        "GULAppDelegateSwizzler"
      ],
      "resources" : [
        {
          "path" : "/private/var/tmp/_bazel_johnflanagan/8891795fa652d7641caf0b921574f221/external/rules_swift_package_manager++swift_deps+swiftpkg_googleutilities/GoogleUtilities/AppDelegateSwizzler/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {

            }
          }
        }
      ],
      "sources" : [
        "GULAppDelegateSwizzler.m",
        "GULSceneDelegateSwizzler.m"
      ],
      "target_dependencies" : [
        "GoogleUtilities-Environment",
        "GoogleUtilities-Logger",
        "GoogleUtilities-Network"
      ],
      "type" : "library"
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions