jverify-flutter-plugin icon indicating copy to clipboard operation
jverify-flutter-plugin copied to clipboard

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

Open lovachen opened this issue 4 years ago • 9 comments

[!] 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:

  • changed the constraints of dependency JCore inside your development pod jpush_flutter. You should run pod update JCore to apply changes you've made.

lovachen avatar Dec 21 '21 14:12 lovachen

请问怎么解决的呢

NiBoTe avatar Dec 22 '21 04:12 NiBoTe

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

lovachen avatar Dec 22 '21 04:12 lovachen

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

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

可以解决这个问题。

NiBoTe avatar Dec 22 '21 04:12 NiBoTe

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

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

可以解决这个问题。

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

lovachen avatar Dec 23 '21 01:12 lovachen

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

lijing89 avatar Jan 18 '22 05:01 lijing89

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

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

这个方法可以,之前试过

hOlMoo avatar Jan 18 '22 06:01 hOlMoo

临时解决方案:

  jverify:
    git:
      url: https://github.com/wapchief/jverify-flutter-plugin
      ref: dev-2.x

wapchief avatar Apr 13 '22 03:04 wapchief

sm时候升级

wyasher avatar Feb 02 '23 13:02 wyasher

啥时候解决呢

Yongle-Fu avatar Nov 16 '23 11:11 Yongle-Fu