【iOS】Swift3. XCode8使用SQLite3时报错:Apple Mach-O Linker Error “_sqlite3_exec”, referenced from: “_sqlite_open”, referenced from: “_sqlite3_prepare_v2”, referenced from

报错:Apple Mach-O Linker Error “_sqlite3_exec”, referenced from: “_sqlite_open”, referenced from: “_sqlite3_prepare_v2”, referenced from “_sqlite3_column_count” referenced From:

snip20161203_89

点击项目名称 – Linked Frameworks and Libraries – “+” – 搜索“libsqlite3.dylib” – 然后点击Add

snip20161202_59 snip20161202_62

❤ 点击这里 -> 订阅《PAT | 蓝桥 | LeetCode学习路径 & 刷题经验》by 柳婼

❤ 点击这里 -> 订阅《从放弃C语言到使用C++刷算法的简明教程》by 柳婼

❤ 点击这里 -> 订阅PAT甲级乙级、蓝桥杯、GPLT天梯赛、LeetCode题解离线版