little-snow-fox / react-native-wechat-lib

🚀 WeChat login, share, favorite and payment for React-Native on iOS and Android
MIT License
653 stars 127 forks source link

react-native 0.71.0 iOS 编译报错 #221

Open langziming opened 1 year ago

langziming commented 1 year ago
截屏2023-02-11 10 19 51 截屏2023-02-11 10 23 46
langziming commented 1 year ago

大佬好,我按照手册引入后这样改=该如何解决

little-snow-fox commented 1 year ago

执行 pod install 了吗?

little-snow-fox commented 1 year ago

问题已修复,请更新到 3.0.2

langziming commented 1 year ago

更新到3.0.2开始提的问题没有了但是启动又报如下错误

截屏2023-02-16 22 48 28
little-snow-fox commented 1 year ago

刚刚打了一个 3.0.3 的版本,麻烦你试一下

surethink commented 1 year ago

更新到3.0.2开始提的问题没有了但是启动又报如下错误 截屏2023-02-16 22 48 28

你好,能分享下你的AppDelegate.h的代码不,参考下

langziming commented 1 year ago
截屏2023-02-18 17 53 05
langziming commented 1 year ago

现在可以启动了但是调用下图的api无任何反应,即没进入成功也没进入异常

截屏2023-02-18 19 28 43
surethink commented 1 year ago

今天用3.0.3打包ios报错如下,先删掉derivedData,再pod install过没用,怎么解决,谢谢 1676862150018

little-snow-fox commented 1 year ago

surethink

从版本 3.0.0 开始,需要手动导入 libWeChatSDK.a 到 XCode 直接复制本项目的 /ios/libWeChatSDK.a 到 Xcode 项目根目录,详细可参考 example 工程

yao-kangsong commented 1 year ago

问题已修复,请更新到 3.0.2

大佬,RN0.71,只需要微信登陆功能,用1.0版本还是3.0?

langziming commented 1 year ago

用1.0

在 2023-05-07 16:09:45,"yao-kangsong" @.***> 写道:

问题已修复,请更新到 3.0.2

大佬,RN0.71,只需要微信登陆功能,用1.0版本还是3.0?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

mushroot commented 1 year ago

集成 微信SDK 可以参考这个,我用 CocoaPods 集成方式是可以行的:https://developers.weixin.qq.com/doc/oplatform/Mobile_App/Access_Guide/iOS_Static_Library_Difference.html

Mashirowww commented 8 months ago

集成 微信SDK 可以参考这个,我用 CocoaPods 集成方式是可以行的:https://developers.weixin.qq.com/doc/oplatform/Mobile_App/Access_Guide/iOS_Static_Library_Difference.html

意思是下两个包吗 npm那下这个lib包 pod那里下他写的那个包