RevenueCat / purchases-ios

In-app purchases and subscriptions made easy. Support for iOS, watchOS, tvOS, macOS, and visionOS.
https://www.revenuecat.com/
MIT License
2.26k stars 303 forks source link

Cleanup: Remove test storekit configuration files when importing through SPM. #3876

Closed aboedo closed 3 months ago

aboedo commented 3 months ago

This PR removes the storekit configuration files we use for testing when you import the SDK through SPM.

This cleans up apps, since those files were somewhat "leaked" from our tests, but not meant for consumption by a customer.

Before After
Screenshot 2024-05-07 at 4 23 39 PM Screenshot 2024-05-07 at 4 34 20 PM

Implementation

This PR does two things:

RevenueCat-Danger-Bot commented 3 months ago
1 Message
:book: Size increase: 0.61 KB

Generated by :no_entry_sign: Danger

aboedo commented 3 months ago

apparently we did run tests from SPM for UI tests, but I'm not sure why yet, I'll take a look. Feels odd to have only one suite run from SPM.

aboedo commented 3 months ago

started looking into fixing the SPM test, and I fell into quite the rabbit hole:

aboedo commented 3 months ago

I'm gonna try a simpler approach with only the package.swift file, we'll see how that goes

aboedo commented 3 months ago

closing in favor of #3878