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

Make it possible to enforce version requirements for system libraries via Swift Package Manager

    XMLWordPrintable

    Details

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

      Description

      As discussed in this post on the forums, it would be useful if one could specify what version(s) of a system library that Swift Package Manager should look for.

      pkg-config provides a number of ways to check for specific versions:

      --atleast-version=VERSION   return 0 if the module is at least version VERSION
      --exact-version=VERSION     return 0 if the module is at exactly version VERSION
      --max-version=VERSION       return 0 if the module is at no newer than version VERSION
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              kmahar Kaitlin Mahar
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated: