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

[Windows] Package dependency with path to parent dir resolves incorrectly

    XMLWordPrintable

    Details

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

      5.3-Dev

      Description

      The path of .package(path: "../Project1Library") from within package "Project1App" doesn't resolve correctly.

      Real path:  G:\RootDirectory\My Projects\Project1\Project1Library
      Build path: G:\RootDirectory\My Projects\Project1\Project1App\Project1Library

      error: the package at 'G:\RootDirectory\My Projects\Project1\Project1App\Project1Library' cannot be accessed (Error Domain=NSCocoaErrorDomain Code=260 "The file doesnΓÇÖt exist.")

       
      I've attached a functioning example. Open RootDirectory in VSCode. A defualt build configuration is included for windows, mac, and linux.

      I tested the example on Windows and macOS, with no issues on macOS and the error on Windows.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            STREGAsGate Strega's Gate
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: