jpush / jverify-flutter-plugin

JPush's officially supported Flutter plugin (Android & iOS). 极光推送官方支持的 Flutter 插件(Android & iOS)。
https://docs.jiguang.cn
MIT License
117 stars 64 forks source link

两个插件jpush_flutter和jverify使用的核心模块JCore版本不一致,导致合并Podfile出现问题: #151

Open lovachen opened 2 years ago

lovachen commented 2 years ago

[!] CocoaPods could not find compatible versions for pod "JCore": In snapshot (Podfile.lock): JCore (< 3.0.0, = 2.6.2, >= 2.0.0, >= 2.1.6)

In Podfile: jpush_flutter (from .symlinks/plugins/jpush_flutter/ios) was resolved to 0.0.2, which depends on JCore (= 2.7.1)

jverify (from `.symlinks/plugins/jverify/ios`) was resolved to 0.0.1, which depends on
  JCore (= 2.6.2)

You have either:

NiBoTe commented 2 years ago

请问怎么解决的呢

lovachen commented 2 years ago

请问怎么解决的呢 好像目前没法解决,IOS只能降低jpush_flutter到2.1.4 ,安卓要改成2.2.0

NiBoTe commented 2 years ago

打开ios目录下.symlinks/plugins,打开jpush_flutter/ios/jpush_flutter.podspec文件,修改如下版本:

s.version = '0.0.1' s.dependency 'JCore','2.6.2'

可以解决这个问题。

lovachen commented 2 years ago

打开ios目录下.symlinks/plugins,打开jpush_flutter/ios/jpush_flutter.podspec文件,修改如下版本:

s.version = '0.0.1' s.dependency 'JCore','2.6.2'

可以解决这个问题。

我之前试过,没有效果,出现了另外的错误,就没有使用,你试了可以?

lijing89 commented 2 years ago

同样有这样的问题,已经反馈给极光的技术支持了

hOlMoo commented 2 years ago

打开ios目录下.symlinks/plugins,打开jpush_flutter/ios/jpush_flutter.podspec文件,修改如下版本: s.version = '0.0.1' s.dependency 'JCore','2.6.2' 可以解决这个问题。

我之前试过,没有效果,出现了另外的错误,就没有使用,你试了可以?

这个方法可以,之前试过

wapchief commented 2 years ago

临时解决方案:

  jverify:
    git:
      url: https://github.com/wapchief/jverify-flutter-plugin
      ref: dev-2.x
wyasher commented 1 year ago

sm时候升级

Yongle-Fu commented 1 year ago

啥时候解决呢