import GRDB
class MyView: UIViewController{
override func viewDidLoad() {
super.viewDidLoad()
do{
let dbPool = try DatabasePool(path: "/path/to/database.sqlite")
}catch let error{
print(error)
}
}
}
错误是打印 SQLite 错误 14
什么是 SQLite 错误 14?
首先使用GRDB并首先调用SqlLite
为什么要引发错误?
IOS 11.0 Swift 4.0 Grdb 2.10.0
构建到 Iphone8 模拟器