Skip to main content
Solved

"Couldn't Load PurchaseTester" after update to 4.0.0 using SPM


Forum|alt.badge.img+3

Does anyone know how to clear these issues/errors from the swift package?

The don’t appear to be obstructing anything, and only appeared when migrating to the 4.0 SPM, the project still build/runs (seemingly) without issue.

 

Best answer by coderExMachina

Update: What helped for me was: 1) Clean build folder, 2) Quit Xcode, 3 Re-open the project

View original
Did this post help you find an answer to your question?

5 replies

Forum|alt.badge.img+1
  • New Member
  • 1 reply
  • March 2, 2022

Having the same issue.


tina
RevenueCat Staff
Forum|alt.badge.img+10
  • RevenueCat Staff
  • 338 replies
  • March 2, 2022

Hey @PracticalEndeavors 

What version of the SDK are you on? If you’re on RevenueCat SDK 4.x, be sure to follow our migration guide: https://docs.revenuecat.com/docs/ios-native-3x-to-4x-migration#12-update-cocoapods-dependency-if-needed 


Forum|alt.badge.img+4

I have the same issue; all steps from the migration guide have been completed, the project builds but the errors remain there.


Forum|alt.badge.img+4

Update: What helped for me was: 1) Clean build folder, 2) Quit Xcode, 3 Re-open the project


Forum|alt.badge.img+3

Thank you all, quitting XCode was the missing step for me! 


Reply


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