首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >RevenueCat - Ionic React - CocoaPods找不到pod“PurchasesHybridCommon”的兼容版本:

RevenueCat - Ionic React - CocoaPods找不到pod“PurchasesHybridCommon”的兼容版本:
EN

Stack Overflow用户
提问于 2020-08-13 06:16:51
回答 1查看 887关注 0票数 2

我目前正在尝试使用Ionic React (电容器)实现RevenueCat软件开发工具包,当使用Ionic Appflow构建应用程序时,我得到了以下错误

代码语言:javascript
运行
复制
[18:38:13]: ▸ [error] Error running update: Analyzing dependencies
[18:38:13]: ▸ Fetching podspec for `Capacitor` from `../../node_modules/@capacitor/ios`
[18:38:13]: ▸ Fetching podspec for `CapacitorCommunityHttp` from `../../node_modules/@capacitor-community/http`
[18:38:13]: ▸ Fetching podspec for `CapacitorCordova` from `../../node_modules/@capacitor/ios`
[18:38:13]: ▸ Fetching podspec for `CordovaPlugins` from `../capacitor-cordova-ios-plugins`
[18:38:13]: ▸ Fetching podspec for `CordovaPluginsStatic` from `../capacitor-cordova-ios-plugins`
[18:38:13]: ▸ [!] CocoaPods could not find compatible versions for pod "PurchasesHybridCommon":
[18:38:13]: ▸ In Podfile:
[18:38:13]: ▸ CordovaPluginsStatic (from `../capacitor-cordova-ios-plugins`) was resolved to 2.4.0, which depends on
[18:38:13]: ▸ PurchasesHybridCommon (= 1.2.0)
[18:38:13]: ▸ None of your spec sources contain a spec satisfying the dependency: `PurchasesHybridCommon (= 1.2.0)`.
[18:38:13]: ▸ You have either:
[18:38:13]: ▸ * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
[18:38:13]: ▸ * mistyped the name or version.
[18:38:13]: ▸ * not added the source repo that hosts the Podspec to your Podfile.
[18:38:13]: ▸ Note: as of CocoaPods 1.0, `pod repo update` does not happen on `pod install` by default.
[18:38:13]: ▸ Sync finished in 3.219s
EN

回答 1

Stack Overflow用户

发布于 2020-12-12 04:27:17

来自@enc_life的评论适用于我(在Flutter应用程序上,而不是React,但我猜iOS部分在这两种方式下都是一样的):

代码语言:javascript
运行
复制
pod install --repo-update

在那之后,一切都变得很顺利。

我收到的错误消息是

代码语言:javascript
运行
复制
[!] CocoaPods could not find compatible versions for pod "PurchasesHybridCommon":
    In Podfile:
        purchases_flutter (from `.symlinks/plugins/purchases_flutter/ios`) was
        resolved to 1.4.3, which depends on PurchasesHybridCommon (= 1.4.5)

None of your spec sources contain a spec satisfying the dependency: 
   `PurchasesHybridCommon (= 1.4.5)`.
票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/63385434

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档