Reputation: 807
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?
Upvotes: 0
Views: 205
Reputation: 1682
Please, use DEVELOPMENT Snapshot instead a release version of Swift: Swift Snapshot
Upvotes: 1