RevenueCat / purchases-capacitor

Capacitor in-app purchases and subscriptions made easy.
MIT License
129 stars 14 forks source link

[iOS] Mismatch Pod dep in library #287

Open patrickjquinn opened 3 days ago

patrickjquinn commented 3 days ago

Getting ``` ✔ update android in 105.58ms ✔ Copying web assets from dist to ios/App/App/public in 140.19ms ✔ Creating capacitor.config.json in ios/App/App in 451.04μs ✔ copy ios in 203.19ms ✔ Updating iOS plugins in 4.41ms ✖ Updating iOS native dependencies with pod install - failed! ✖ update ios - failed! [error] Analyzing dependencies [!] CocoaPods could not find compatible versions for pod "PurchasesHybridCommon": In snapshot (Podfile.lock): PurchasesHybridCommon (= 10.9.0)

    In Podfile:
    RevenuecatPurchasesCapacitor (from `../../node_modules/@revenuecat/purchases-capacitor`) was resolved to 7.7.0,
    which depends on
    PurchasesHybridCommon (= 11.1.1)

    Specs satisfying the `PurchasesHybridCommon (= 10.9.0), PurchasesHybridCommon (= 11.1.1)` dependency were found,
    but they required a higher minimum deployment target.

error: "cap" exited with code 1 error: script "refresh" exited with code 1



When trying to do a cap sync. 

Looks like it's referencing the wrong `PurchasesHybridCommon` version.
RCGitBot commented 3 days ago

👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!