Skip to main content
Question

Trouble Integrating RevenueCat with SwiftUI iOS/macOS Multiplatform Project on Xcode 15.2

  • February 14, 2025
  • 1 reply
  • 29 views

Forum|alt.badge.img

Hello,
I’m running into issues trying to add RevenueCat to my SwiftUI multiplatform project (iOS and macOS) using Xcode 15.2. I’ve tried adding the package via Xcode’s Swift Package Manager interface, but it stays stuck at “progress” without completing. I also tried integrating RevenueCat through CocoaPods, and while the pod appears to install, I still receive the following build error:
No such module 'RevenueCat'

I’ve tested multiple versions of RevenueCat, including the latest (5.16) and older releases like 4.0.0, 4.33.0, and 4.25.2, but the problem persists. I’ve also cleared DerivedData and performed clean builds to no avail.

Does anyone have any insight into what might be going wrong? Are there known compatibility issues with multiplatform projects or Xcode 15.2? Any guidance would be much appreciated.

Thanks!

This post has been closed for comments

1 reply

joan-cardona
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 371 replies
  • February 18, 2025

Hi ​@medali,

I’ve just created a new multiplatform project and I was able to add the RevenueCat SDK through SPM. Just to double check, are you adding your app targets to the SDK when installing it? You can find more info here

 

Best,


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings