Closed CreatorMetaSky closed 8 years ago
oh, i have fix it by make it a dylib, i think use carthage is bad for spm
With SPM, Carthage or Xcode based framework may not work.
Use Package.swift
and swift build
instead.
If you have a problem with Carthage and Xcode, add MySQL.xcodeproj into your project and link MySQL.framework in Build Phase setting of your project.
I use xcode complie my codes and dependency on your mysql-swift library
the step is :
carthage update
build the framework, and drag drop to the build phasesfinally i use your sample code, but when i call
pool.execute
method , it always complie error.pelease help me, thanks.