vapor-community / mysql-provider

MySQL provider for the Vapor web framework.
MIT License
30 stars 12 forks source link

Swift Compiler Error #35

Closed ghost closed 7 years ago

ghost commented 7 years ago

image After I added denpendencies .Package(url: "https://github.com/vapor/mysql-provider.git", majorVersion: 2) My project can not be built by xcode. Then I use vapor build the terminal give tips to use brew install cmysql then i can build this project by vapor toobox. I openned my xcode again.This error is still exist. When i openned my denpendencies folder. image I found nothing in CMySQL folder. THX!

0xTim commented 7 years ago

Did you try building after running brew install cmysql?

IIRC it is just a module map so you probably won't see any code anyway

tanner0101 commented 7 years ago

Make sure to re-generate your Xcode project after doing brew install vapor/tap/cmysql.