Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/swift/16.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何将FMDB与cocoapods和swift结合使用?_Swift_Xcode_Cocoapods_Fmdb - Fatal编程技术网

如何将FMDB与cocoapods和swift结合使用?

如何将FMDB与cocoapods和swift结合使用?,swift,xcode,cocoapods,fmdb,Swift,Xcode,Cocoapods,Fmdb,看起来cocoapods支持FMDB: pod 'FMDB/FTS' 但即使在创建桥接头之后,我仍会出现以下错误: cocoapods bridging header error: 'FMDB.h' file not found 怎么了?我还需要添加一个标题搜索路径 在目标设置(非项目设置)中,导航到“生成设置->标题搜索路径”,并添加以下非递归路径: "${PODS_ROOT}/FMDB/src/fmdb" 我还需要添加一个标题搜索路径 在目标设置(非项目设置)中,导航到“生成设置->标

看起来cocoapods支持FMDB:

pod 'FMDB/FTS'
但即使在创建桥接头之后,我仍会出现以下错误:

cocoapods bridging header error: 'FMDB.h' file not found

怎么了?

我还需要添加一个标题搜索路径

在目标设置(非项目设置)中,导航到“生成设置->标题搜索路径”,并添加以下非递归路径:

"${PODS_ROOT}/FMDB/src/fmdb"

我还需要添加一个标题搜索路径

在目标设置(非项目设置)中,导航到“生成设置->标题搜索路径”,并添加以下非递归路径:

"${PODS_ROOT}/FMDB/src/fmdb"