Support different modes for depending on RevenueCat when using Tuist #5888
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
Most developers integrate RevenueCat via SPM. Defaulting Tuist projects to SPM integration ensures our examples and tooling better reflect real-world usage, helping us catch SPM-specific issues earlier during development.
Description
Changes the default way Tuist-generated projects depend on RevenueCat and RevenueCatUI from Tuist's XcodeProj-based integration to local Swift Package Manager (SPM) integration.
Changes
Environment Variables
TUIST_RC_LOCAL=falseTUIST_RC_REMOTE=trueand/orTUIST_RC_XCODE_PROJECT=trueUsage examples:
Local Swift Package (default)
Local Xcode Project (previous default)
Remote Swift Package (from GitHub main branch)
Remote Xcode Project
TUIST_RC_REMOTE=true TUIST_RC_XCODE_PROJECT=true tuist generate### Project.swift UpdatesNotes
Still WIP. Needs more testing and complete all implementation (e.g. CEC)