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

SPM doesn't exclude files and directories marked as exclude

    XMLWordPrintable

    Details

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

      Swift 5.3

      Xcode 12.2

      Description

      Marking directories and files in a target's `exclude` seems to have no effect. 

      See an example here:

      https://github.com/pocketsvg/PocketSVG/

      https://github.com/pocketsvg/PocketSVG/blob/master/Package.swift#L25

      I would expect "Demos", "ci", "derived_data", "PocketSVG.podspec" to be excluded, but they are still included in the package when you open it in Xcode. 

       

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            tallariel Ariel Elkin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: