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

SPM generate-xcodeproj fails on Swift 5 with "fatalError"

    XMLWordPrintable

    Details

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

      Swift 5 / Xcode 10.2 beta 4

      Description

      Steps to reproduce:

      1. git clone https://github.com/pointfreeco/pointfreeco.git

      2. cd pointfreeco

      3. swift package -v generate-xcodeproj

      Returns the following output:

      xcrun --sdk macosx --show-sdk-path
      xcrun --sdk macosx --show-sdk-platform-path
      xcrun --sdk macosx --find xctest
      'CPostgreSQL' /Users/stephencelis/Developer/pointfreeco/pointfreeco/.build/checkouts/cpostgresql: warning: Ignoring declared target(s) 'CPostgreSQL' in the system package
      git -C /Users/stephencelis/Developer/pointfreeco/pointfreeco rev-parse --is-bare-repository
      git -C /Users/stephencelis/Developer/pointfreeco/pointfreeco rev-parse --is-bare-repository
      sh -c 'git -C /Users/stephencelis/Developer/pointfreeco/pointfreeco check-ignore -z --stdin < /var/folders/f6/mx41dr9j6gs1n90jxz19rw0c0000gn/T/TemporaryFile.dycxhw'
      error: fatalError 

      A quick search of the SPM code base shows a bunch of error enums with fatalError cases, so I assume we're dealing with one of them here.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                stephencelis Stephen Celis
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: