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

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

Open
lovachen opened this issue Dec 21, 2021 · 9 comments

Comments

@lovachen
Copy link

[!] 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.
@NiBoTe
Copy link

NiBoTe commented Dec 22, 2021

请问怎么解决的呢

@lovachen
Copy link
Author

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

@NiBoTe
Copy link

NiBoTe commented Dec 22, 2021

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

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

可以解决这个问题。

@lovachen
Copy link
Author

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

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

可以解决这个问题。

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

@lijing89
Copy link

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

@hOlMoo
Copy link

hOlMoo commented Jan 18, 2022

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

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

这个方法可以,之前试过

@wapchief
Copy link

临时解决方案:

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

@wyasher
Copy link

wyasher commented Feb 2, 2023

sm时候升级

@Yongle-Fu
Copy link

啥时候解决呢

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

7 participants