Skip to main content
Answer

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

  • March 1, 2022
  • 5 replies
  • 158 views

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

This post has been closed for comments

5 replies

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

Having the same issue.


tina
RevenueCat Staff
Forum|alt.badge.img+10
  • RevenueCat Staff
  • 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!