Configuring Steam and Steam-MySQL

My Vapor and Vapor-MySQL settings died after I tried new versions in my Package.swift file.

Ultimately, I need a Package.swift package that included the following:

.Package(url: "https://github.com/vapor/vapor.git", majorVersion: 0, minor: 16), .Package(url: "https://github.com/vapor/mysql-provider.git", majorVersion: 0, minor: 4)

Then I ran vapor build --mysql This worked. No errors reported.

Then I turned over to Xcode to build the project and run run.

Then I got into the number of Framework errors. "Pathindexable". "CryptoEssentials" and "Node". These are believed to be linker errors.

Then I ran vapor clean . Cleared my project in Xcode. There is no joy.

Any idea why this didn't work?

+5
source share
1 answer

Invalid command:

vapor xcode --mysql

This will automatically prompt you to open Xcode and fix the linker errors.

+8
source

All Articles