I just made sure to update to the latest (3.1.0) exercism, and tried to execute the ‘swift package’ command listed above. First, it gives me a warning that Xcode can open and build Swift Packages directly, and then it gave me this error:
Exercism/swift/leap/Package.swift:3:8: error: no such module 'PackageDescription'
import PackageDescription
^
I’m not even to the point of testing. I am running the command indicated in the setup process to create the xcodeproj so I can open it in Xcode, and this is the error I get when I try.
I am just following the directions in the setup that said to run ‘swift package generate-xcodeproj’ after downloading the exercise. That was the error message that I got. I am stuck at that point.
hmmm, well what I do is that I download the exercise, solve the exercise and then I run swift test and that builds the exercise. Since you shouldn’t have to build the exercise before you actually have to test. But again I am not on a mac so it may be different