Closed ah-kevin closed 7 years ago
@ah-kevin how did you create the xcode project? If you have latest Vapor Toolbox >1.0, then vapor xcode
will be enough. If you are doing it manually, the mysql headers will have to be linked.
user toolbox 1.0.1 mysql-provider 1.0
vapor xcode --mysql
@LoganWright I am currently having the same issue as well. When I added this dependency into my Package file, my Xcode couldn't compile due to similar error.
.Package(url: "https://github.com/vapor/mysql-provider.git", majorVersion: 1, minor: 0)
I've tried vapor clean
and vapor Xcode multiple times
. I am also sure that MySQL server is currently in my local machine.
Make sure MySQL is installed on your machine by following the instructions at: https://github.com/vapor/mysql