Uploaded image for project: 'Swift'
  1. Swift
  2. SR-13913

Library product name must match target name??

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Component/s: Package Manager
    • Labels:
      None

      Description

      swift test the attached project.  I get:

       

       

      'A' /private/tmp/pmbug: error: product 'B' not found. It is required by target 'E'. 
      

       

      But the library product named "B" has clearly been declared at the beginning of the file and there's no complaint about that.  The documentation doesn't say that the target names need to match the product names, nor does the documentation say how the module name is derived.  If I keep everything lined up, things seem to work, but it's black magic.  Please fix the documentation to explain how all of this is supposed to work.

        Attachments

        1. D.swift
          0.0 kB
        2. F.swift
          0.1 kB
        3. LICENSE
          0.0 kB
        4. Package.swift
          0.5 kB
        5. README.md
          0.0 kB

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            dabrahams Dave Abrahams
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: