0

When trying to build the most simple starter pack for PerfectlySoft Swift Server https://github.com/PerfectlySoft/Perfect, which simply involves the following steps per their website:

git clone https://github.com/PerfectlySoft/PerfectTemplate.git
cd PerfectTemplate
swift build
.build/debug/PerfectTemplate

I get the following error multiple times during the step "Linking COpenSSL" which causes the build to error out "error: exit(1)":

@escaping attribute only applies to function types

I'm building this with Xcode command line tools V:8.0 (8S201h). What do I need to be doing differently to get this to work?

Ethan Kay
  • 657
  • 6
  • 24
  • Are you using the right version of Swift? I see on their GitHub page: `The master branch of this project currently compiles with the August 26th Swift toolchain snapshot.` – Eric Aya Sep 05 '16 at 16:29
  • Apple Swift version 3.0 (swiftlang-800.0.43.6 clang-800.0.38) Target: x86_64-apple-macosx10.9 – Ethan Kay Sep 05 '16 at 23:52

1 Answers1

1

Please, use DEVELOPMENT Snapshot instead a release version of Swift: Swift Snapshot

alvaropaco
  • 1,573
  • 18
  • 29