Skip to content

Commit

Permalink
Clean up XCWorkspace and testing apps (#4111)
Browse files Browse the repository at this point in the history
## Motivation

Having to remember which Xcode project to open to work on every specific
feature drives me insane.

This just adds the Testing Apps to the main RevenueCat.workspace so we
can launch them from there and I can stop pulling my hair out.

It also removes the old UIKit PurchaseTester since we haven't been using
it for years.

The Backend Integration tests app and the PurchaseTesterSwiftUI app were
using a storekit config file from the old PurchaseTester for some
reason, so I cleaned that up too - added it as a separate file per app.

| Before | After |
| :-: | :-: |
| <img width="312" alt="Screenshot 2024-07-24 at 5 54 55 PM"
src="https://github.com/user-attachments/assets/3afc73b1-3432-4ec0-843c-b9ccfdd371ce">
| <img width="325" alt="image"
src="https://github.com/user-attachments/assets/f5ce7d06-4adc-40d5-a086-73febc0d84cf">
|


# Changes summary: 
- Add all Testing Apps to `RevenueCat.xcworkspace`
- Kill PurchaseTester UIKit
- Move StoreKit config file from PurchaseTester UIKit to
BackendIntegrationTests
- Create new StoreKit Config file for PurchaseTester SwiftUI
- Replace SPM dependency from PurchaseTester -> RevenueCat with a local
dependency
  • Loading branch information
aboedo authored Jul 29, 2024
1 parent 171fe69 commit 51fabaa
Show file tree
Hide file tree
Showing 64 changed files with 1,241 additions and 3,651 deletions.
604 changes: 598 additions & 6 deletions RevenueCat.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
</BuildableReference>
</BuildableProductRunnable>
<StoreKitConfigurationFileReference
identifier = "../Tests/TestingApps/PurchaseTester/RevenueCat_IntegrationPurchaseTesterConfiguration.storekit">
identifier = "../Tests/BackendIntegrationTests/RevenueCat_IntegrationPurchaseTesterConfiguration.storekit">
</StoreKitConfigurationFileReference>
</LaunchAction>
<ProfileAction
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@
],
"settings" : {
"_failTransactionsEnabled" : false,
"_locale" : "en_US",
"_storefront" : "USA",
"_storeKitErrors" : [
{
"current" : null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
</BuildableReference>
</BuildableProductRunnable>
<StoreKitConfigurationFileReference
identifier = "../PaywallsTester/Products.storekit">
identifier = "../Tests/TestingApps/PaywallsTester/PaywallsTester/Products.storekit">
</StoreKitConfigurationFileReference>
</LaunchAction>
<ProfileAction
Expand Down
1 change: 0 additions & 1 deletion Tests/TestingApps/PurchaseTester/.gitignore

This file was deleted.

15 changes: 0 additions & 15 deletions Tests/TestingApps/PurchaseTester/Podfile

This file was deleted.

16 changes: 0 additions & 16 deletions Tests/TestingApps/PurchaseTester/Podfile.lock

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 51fabaa

Please sign in to comment.