Allow overriding PaywallsTester bundle ID via Tuist env var#6869
Merged
Conversation
…UNDLE_ID Lets RevenueCat folks run PaywallsTester against another RevenueCat project / App Store Connect app that needs its own bundle ID, without editing the manifest. Defaults to com.revenuecat.PaywallsTester when unset. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
ajpallares
approved these changes
May 29, 2026
This was referenced Jun 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
RevenueCat folks often want to run PaywallsTester against a different RevenueCat project / App Store Connect app, which may require its own bundle identifier (e.g. when running on a real device with that project's products). Today the bundle ID is hardcoded to
com.revenuecat.PaywallsTesterin the Tuist manifest, so testing with another project means hand-editingProject.swift.Change
Adds a
TUIST_PAYWALLS_TESTER_BUNDLE_IDenvironment variable, following the same pattern as the existingTUIST_RC_API_KEY/TUIST_SK_CONFIG_PATH/TUIST_LAUNCH_ARGUMENTSknobs:When unset, it defaults to
com.revenuecat.PaywallsTester(no behavior change).Tuist/ProjectDescriptionHelpers/Environment.swift— newpaywallsTesterBundleIdaccessor (reads the env var viaProcessInfo, defaults to the current value)Projects/PaywallsTester/Project.swift—bundleId:now readsEnvironment.paywallsTesterBundleIdAGENTS.md— documented the new variable in the Tuist env-var table🤖 Generated with Claude Code
Note
Low Risk
Tuist-only PaywallsTester generation change; default bundle ID is unchanged and the public SDK is unaffected.
Overview
Adds
TUIST_PAYWALLS_TESTER_BUNDLE_IDso PaywallsTester’s app bundle ID can be set attuist generatetime instead of editing the Tuist manifest.Environment.paywallsTesterBundleIdreads the env var (defaultcom.revenuecat.PaywallsTester),Projects/PaywallsTester/Project.swiftuses it for the target’sbundleId, andAGENTS.mddocuments the knob alongside the other Tuist variables.Reviewed by Cursor Bugbot for commit 105b654. Bugbot is set up for automated code reviews on this repo. Configure here.