Skip to main content

I am facing problems in the latest version of iOS.

Xcode version: Version 14.2 (14C18)
POD Target: 11.0

 

>!] CocoaPods could not find compatible versions for pod "PurchasesHybridCommon":
  In Podfile:
    purchases_flutter (from `.symlinks/plugins/purchases_flutter/ios`) was resolved to 4.10.0, which depends on
      PurchasesHybridCommon (= 4.13.1)

None of your spec sources contain a spec satisfying the dependency: `PurchasesHybridCommon (= 4.13.1)`.

You have either:
 * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.

 

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
✓] Flutter (Channel stable, 3.7.0, on macOS 13.1 22C65 darwin-arm64, locale tr-TR)
✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
n✓] Xcode - develop for iOS and macOS (Xcode 14.2)
X✓] Chrome - develop for the web
p✓] Android Studio (version 2021.1)
v✓] VS Code (version 1.75.1)
✓] Connected device (3 available)
e✓] HTTP Host Availability

• No issues found!

Try 
Flutter Clean
Pub Get

Pod update


Hey @BigLayer, in addition to the suggestion above, were you able to run `pod repo update`?


Had the same issue here. I ran both the suggestions and it worked.
Thanks, guys!


With an M1 or M2 chip the “pod update” command is:

arch -x86_64 pod update


Hello,

What would be the fix for this for React Native Expo?

[!] CocoaPods could not find compatible versions for pod "PurchasesHybridCommon":
In Podfile:
RNPaywalls (from `../node_modules/react-native-purchases-ui`) was resolved to 7.27.0, which depends on
PurchasesHybridCommonUI (= 10.5.0) was resolved to 10.5.0, which depends on
PurchasesHybridCommon (= 10.5.0)
RNPurchases (from `../node_modules/react-native-purchases`) was resolved to 7.27.1, which depends on
PurchasesHybridCommon (= 10.6.1)

 

I guess it’s the same kind of error as the post mentions..

Thanks!


Hey @yafim-simanovsky-f0cedc,

This is an old post, if you have tried the recommendations in the previous comments can you make a new post? That way we’ll be able to help you more effectively.