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

"RCTBridgeModule.h" file not found #3

Closed
oknixus opened this issue Dec 24, 2015 · 24 comments
Closed

"RCTBridgeModule.h" file not found #3

oknixus opened this issue Dec 24, 2015 · 24 comments

Comments

@oknixus
Copy link

oknixus commented Dec 24, 2015

cmd+r的时候,就报了这个错误
是不是我哪一步操作错误?

@buhe
Copy link
Contributor

buhe commented Dec 24, 2015

严格按着教程来。 估计是没有加入到编译路径吧

@oknixus
Copy link
Author

oknixus commented Dec 24, 2015

@buhe 谢谢回复,请问,加入编译路径的操作是怎样的?

@buhe
Copy link
Contributor

buhe commented Dec 24, 2015

https://facebook.github.io/react-native/docs/linking-libraries-ios.html#content

按这上面的第二种方式来。 里面有详细的说明。

@oknixus
Copy link
Author

oknixus commented Dec 24, 2015

有个疑问,PROJECT 和 TARGATES 是一样的吗?
我看到这两个都有Search Paths,而且选项基本上都是一样的

@xiaoyann
Copy link
Member

不一样,具体网上搜索一下就知道了

@buhe
Copy link
Contributor

buhe commented Dec 24, 2015

要 header search paths .严格按着来就好了 亲..

@xiaoyann
Copy link
Member

噢,你要设置选项的话,选择targets就好了

@oknixus
Copy link
Author

oknixus commented Dec 24, 2015

😂前两次,只有1个错误,就是"RCTBridgeModule.h" file not found,这次出现21个错误

对React-Native有没有版本限制的?
我现在使用的版本是0.11.0

@xiaoyann
Copy link
Member

用0.14.2以上的吧,开发这个组件时用的0.16.0

@oknixus
Copy link
Author

oknixus commented Dec 24, 2015

那要升级几个版本了,这样的话,我原有的东西就没办法用了

@buhe
Copy link
Contributor

buhe commented Dec 24, 2015

0.13.1 可以用,测过了
不过 0.14 的图片特性 逼着必须升级啊.

@oknixus
Copy link
Author

oknixus commented Dec 24, 2015

现在的错误,可能就是react-native版本造成的了
image

@xiaoyann
Copy link
Member

你是不是没文档来呀,那些微信SDK需要的库没引入吧

@xiaoyann
Copy link
Member

SystemConfiguration.framework
libz.dylib
libsqlite3.0.dylib
libc++.dylib
CoreTelephony.framework

@oknixus
Copy link
Author

oknixus commented Dec 25, 2015

@YannXiao 试了几次,有点儿懵了,又重新来过确实是漏掉了这些。
大家安装都很顺利吗?我又遇到问题了
image
是缺少lz.1.2.6这个library?

@xiaoyann
Copy link
Member

你的xcode是什么版本,要不发你QQ加下好友,方便多截些图吧

@oknixus
Copy link
Author

oknixus commented Dec 25, 2015

1691915223我的QQ,谢谢

@xiaoyann
Copy link
Member

问题已解决:应该装libz.1.dylib这个库。(记录一下,供其他人参考)

@buhe
Copy link
Contributor

buhe commented Dec 25, 2015

我添加的 tbd ,官方好像推荐用这个了,并没有加 libz.1.tbd 。就可以了

@oknixus
Copy link
Author

oknixus commented Dec 25, 2015

谢谢燕哥

@buhe
Copy link
Contributor

buhe commented Dec 25, 2015

教程是不是 可以改一下.直接用 tbd ?

@oknixus
Copy link
Author

oknixus commented Dec 25, 2015

支持react-native 0.11.0,可放心使用

@xiaoyann
Copy link
Member

@buhe 嗯,ios9这些库的后缀变了,用libz.tbd没问题,不过这是按照微信SDK文档来的,具体使用就看使用者了,文档里说明下其实就OK了。

@ghost
Copy link

ghost commented Jan 13, 2017

thx

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

No branches or pull requests

3 participants