We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Path:/usr/local/lib/pkgconfig/mysqlclient.pc "mysqlclient.pc" not found
do "swift build",then this is log:
/Users/wangzz/Desktop/MyAwesomeProject/.build/checkouts/Perfect-mysqlclient.git-5333716826204139417/module.modulemap:2:12: error: header '/usr/local/include/mysql/mysql.h' not found header "/usr/local/include/mysql/mysql.h" ^ /Users/wangzz/Desktop/MyAwesomeProject/.build/checkouts/Perfect-MySQL.git-4976130768219902098/Sources/PerfectMySQL/MySQL.swift:13:8: error: could not build Objective-C module 'mysqlclient' import mysqlclient ^ /Users/wangzz/Desktop/MyAwesomeProject/.build/checkouts/Perfect-mysqlclient.git-5333716826204139417/module.modulemap:2:12: error: header '/usr/local/include/mysql/mysql.h' not found header "/usr/local/include/mysql/mysql.h" ^ /Users/wangzz/Desktop/MyAwesomeProject/.build/checkouts/Perfect-MySQL.git-4976130768219902098/Sources/PerfectMySQL/MySQL.swift:13:8: error: could not build Objective-C module 'mysqlclient' import mysqlclient ^ /Users/wangzz/Desktop/MyAwesomeProject/.build/checkouts/Perfect-mysqlclient.git-5333716826204139417/module.modulemap:2:12: error: header '/usr/local/include/mysql/mysql.h' not found header "/usr/local/include/mysql/mysql.h" ^ /Users/wangzz/Desktop/MyAwesomeProject/.build/checkouts/Perfect-MySQL.git-4976130768219902098/Sources/PerfectMySQL/MySQL.swift:13:8: error: could not build Objective-C module 'mysqlclient' import mysqlclient ^ /Users/wangzz/Desktop/MyAwesomeProject/.build/checkouts/Perfect-mysqlclient.git-5333716826204139417/module.modulemap:2:12: error: header '/usr/local/include/mysql/mysql.h' not found header "/usr/local/include/mysql/mysql.h" ^ /Users/wangzz/Desktop/MyAwesomeProject/.build/checkouts/Perfect-MySQL.git-4976130768219902098/Sources/PerfectMySQL/MySQL.swift:13:8: error: could not build Objective-C module 'mysqlclient' import mysqlclient ^ error: terminated(1): /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-build-tool -f /Users/wangzz/Desktop/MyAwesomeProject/.build/debug.yaml main output:
The text was updated successfully, but these errors were encountered:
How to solve it?
Sorry, something went wrong.
Try to run: $ brew install [email protected] && brew link [email protected] --force And then: $ swift package generate-xcodeproj This worked for me!
$ brew install [email protected] && brew link [email protected] --force
$ swift package generate-xcodeproj
No branches or pull requests
Path:/usr/local/lib/pkgconfig/mysqlclient.pc
"mysqlclient.pc" not found
do "swift build",then this is log:
The text was updated successfully, but these errors were encountered: