Closed pradeepb28 closed 2 years ago
Also I've tried
Pod Purchases
but I get this error
Hi @pradeepb28! 👋 Thanks for reporting!
This is expected, here's what's going on:
RevenueCat
. Purchases
. pod 'Purchases'
main
) and won't see a spec for Purchases
, it'll only see one for RevenueCat
, i.e.: our V4 SDK that was renamed.pod 'RevenueCat', :git => "https://github.com/RevenueCat/purchases-ios.git"
Here's the list of everything that's changed in our V4 SDK, currently in beta.
@aboedo I tried
pod 'Purchases'
but I am still facing the below issue
MacOS: 11.3.1 (M1 machine) Pod version: 1.10.2
🤔 I just tried this on a brand new project and had no issues with the following podfile:
target 'testCocoapods (iOS)' do
use_frameworks!
pod 'Purchases'
end
target 'testCocoapods (macOS)' do
use_frameworks!
pod 'Purchases'
end
Output:
@pradeepb28 I'm running Cocoapods 1.11.2
. Perhaps updating your Cocoapods version solves the issue?
updated but still no luck. @aboedo is there any chance I can point to the git url. This is the only I was able to solve other pods in my file. I tried the git url under purchases-ios but it didnt worked(as per my original issue)
@pradeepb28 is there anything more in the output other than what you pasted above? Anything before "oh no, an error occurred"?
I wonder if there might be an issue with targeted architectures or deployment targets, could you share details about which architectures your app is targeting, as well as deployment targets for them?
You can still point to the github url:
pod 'Purchases', :git => 'https://github.com/RevenueCat/purchases-ios.git', :tag => '3.13.1'
Keep in mind that if you go with this path, you'd have to update the tag
whenever you want to update to a newer version fo the SDK to get bug fixes or new features.
pod 'RevenueCat', :git => "https://github.com/RevenueCat/purchases-ios.git"
This is what is in podfile @aboedo
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'Bird search' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
platform :ios, '15.0'
# Pods for Bird_search
pod 'RevealingSplashView', :git => "https://github.com/PiXeL16/RevealingSplashView.git"
pod 'Mixpanel-swift', :git => "https://github.com/mixpanel/mixpanel-swift.git"
pod 'SwiftDate', :git => "https://github.com/malcommac/SwiftDate.git"
pod 'Purchases'
end
Output attached here Terminal Saved Output.zip
Thanks for sharing! I think you're experiencing this issue.
It seems to be an incompatibility issue with a ruby gem called ffi
, there's a suggested workaround here.
There's another thread here for the same issue.
There are a few other possible solutions in the links I posted. Would you mind giving them a shot?
@aboedo it worked, finally I can give a shot on RevenueCat
Glad it's working! Let us know if you run into more issues. Have a great day!
This issue has been automatically locked due to no recent activity after it was closed. Please open a new issue for related reports.
Describe the bug I've tried to run cocoapods but it says unable to find Purchases Here is how I included in the file
Output
Additional context Add any other context about the problem here.