-
Notifications
You must be signed in to change notification settings - Fork 120
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
pod升级到1.7.2之后,项目运行不起来 #16
Comments
pod install / pod repo update |
还是不行
|
应该是你的环境有问题,我升级到1.8.0,没有报错 |
嗯 我觉得也是。我再找找原因。 |
@v7lin 找到原因了,库与WechatOpenSDK (1.8.6)不兼容,退回到 1.8.4版本就好了,建议指定依赖的WechatOpenSDK版本。 |
😳 微信这么坑 |
没办法,总归是要升级的。。。你先写死1.8.4版本吧,要不然后面来的同学都不能用~ |
嗯,有道理,晚上我回去看看,有时间就升级,没时间就固定版本 |
@OPY-bbt 这个怎么降级呢 请问一下 我直接在fake_wechat.podspec 里降级 老提示我依赖版本不足 只能装1.8.6才能报你那个错误 |
用 git 方式引入 github 项目吧,最新版 fake_wechat 差文档还没写完,所以还没 release |
谢谢这么晚回复。 我明天试一试,就链接这个项目的git链接对吧。你也早点休息噢,我研究了好几个小时,新的ul的方式,对我而言,用着有点勉强。谢谢 |
这个问题解决了吗?为什么我的还是提示这样的错误 |
最新的插件还没正式 release,先用 git 方式应用 master 最新代码 。。。 |
好的,还有这个是不是不支持在模拟器上运行呢 |
没试过,应该是支持的,这个取决于微信SDK的支持与否 |
解决是解决了 不会报错,用这个 fake_wechat:git: git://github.com/v7lin/fake_wechat.git但但但是 如果开启了swift 可以编译成功,但会启动闪退,建议不要开启swift |
@ismanong 有没有日志信息?我查查原因 |
这是我用模拟器跑的,能跑起来但是使用功能的时候出问题,也不知道什么原因 |
@CodeGather 你没设置 universalLink 吧? |
@v7lin 果然就是这个问题,设置完后在模拟器上测试正常,谢谢 |
@v7lin 会不会跟ul相关? |
@ismanong 你的问题同 @CodeGather 一样,我后续会在 flutter 代码里面添加 assert 判断 universalLink |
嗯 但是oc的版本 我用0.3.3 毫无问题 |
那是你没升级 cocopods 仓库,升级后就得升级插件了 |
这个错误完全看不懂,丝毫没有提到关于universalLink的信息 |
我还是用oc的,因为还有一个淘宝包,在支持swift的flutter项目上调用闪退。这个可跟ul没关系,升级的心态都炸了,有问题的都归类了,太难了。 |
pod 1.7.2
[✓] Flutter (Channel stable, v1.7.8+hotfix.3, on Mac OS X 10.14.6 18G95, locale en-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 10.3)
[✓] iOS tools - develop for iOS devices
[✓] Android Studio (version 3.5)
[✓] VS Code (version 1.38.1)
[✓] Connected device (1 available)
The text was updated successfully, but these errors were encountered: