Solved

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

  • 1 March 2022
  • 5 replies
  • 117 views

Badge +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.

 

icon

Best answer by coderExMachina 3 March 2022, 18:20

View original

5 replies

Badge +1

Having the same issue.

Userlevel 5
Badge +10

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 

Userlevel 1
Badge +4

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

Userlevel 1
Badge +4

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

Badge +3

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

Reply