Skip to content
New issue

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

安装WCDB 失败 #68

Closed
limeidong opened this issue Jun 22, 2017 · 13 comments
Closed

安装WCDB 失败 #68

limeidong opened this issue Jun 22, 2017 · 13 comments
Labels

Comments

@limeidong
Copy link

我是通过静态库的方式安装的,我把下载下来的源文件中 apple 文件夹中的 WCDB.xcodeproj,拖到自己的项目中,然后 按照教程 配置 的Build Phases,这些都没有问题,就是最后引入头文件的时候,死活找不到这个 #import <WCDB/WCDB.h> 头文件。

@RingoD
Copy link
Collaborator

RingoD commented Jun 22, 2017

对比教程 https://github.com/Tencent/wcdb/wiki#安装 的按静态库安装,每一步对一下看是否有没有做错。
特别是在你的项目工程配置的Build Phases->Linked Binary and Libraries中添加WCDB.framework。这里有两个WCDB.framework,需要添加WCDB iOS Static的target下的WCDB.framework。这里是否有选错framework

@limeidong
Copy link
Author

好的,问题已经解决,我用cocopods安装的。

@limeidong
Copy link
Author

好的,问题已经解决,我用cocopods安装的。

@ui03
Copy link

ui03 commented Jun 23, 2017

cocopods 安装Installing WCDB (1.0.1)卡着不动了,你的也这样吗?

@RingoD
Copy link
Collaborator

RingoD commented Jun 23, 2017

@ui03 通常是网络问题,cocoapods的服务器不太好

@limeidong limeidong reopened this Jul 7, 2017
@limeidong
Copy link
Author

@ui03 我的现在也出现这个问题了,卡着不动,也不知道是不是网络问题,也看不到加载进度,愁人。

@RingoD
Copy link
Collaborator

RingoD commented Jul 7, 2017

@RingoD RingoD closed this as completed Jul 7, 2017
@YL1989
Copy link

YL1989 commented Aug 28, 2017

通过静态库安装,死活编译不过,从新安装几十次都不行,安装步骤对了一遍又一遍。
WCDB,从安装到放弃!
第一次用这么难搞的开源。

@RingoD
Copy link
Collaborator

RingoD commented Aug 28, 2017

@YL1989 请提供你的编译错误信息,或加入我们的QQ群详细讨论。光是吐槽解决不了任何问题,这里有更多的人正常安装并使用很久了。

@YL1989
Copy link

YL1989 commented Aug 28, 2017

@RingoD QQ群多少哦,哥哥。

@RingoD
Copy link
Collaborator

RingoD commented Aug 29, 2017

@YL1989 wiki第一句就是

@tigerzhang08
Copy link

@YL1989 请问你通过静态库方式最终安装成功了吗?

@karosLi
Copy link

karosLi commented Jan 15, 2018

静态库安装 other link flags 还需要加上 -l"c++"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants