Skip to content

Add RequestSizeCalculation.swift to RevenueCat.xcodeproj#6713

Merged
ajpallares merged 1 commit into
mainfrom
pallares/fix-xcframework-missing-request-size-calculation
Apr 30, 2026
Merged

Add RequestSizeCalculation.swift to RevenueCat.xcodeproj#6713
ajpallares merged 1 commit into
mainfrom
pallares/fix-xcframework-missing-request-size-calculation

Conversation

@ajpallares

@ajpallares ajpallares commented Apr 30, 2026

Copy link
Copy Markdown
Member

Motivation

RequestSizeCalculation.swift was added in #6694 but not registered in the RevenueCat.xcodeproj, which is used by the XCFramework build. This broke the release-checks CI job.

Description

Adds the file reference, build file, group entry, and Sources phase entry for RequestSizeCalculation.swift so the XCFramework build picks it up.

Made with Cursor


Note

Low Risk
Project-file only change to include an already-existing source file in the Xcode build; low functional risk, but impacts XCFramework/CI build correctness.

Overview
Fixes the hand-maintained RevenueCat.xcodeproj so XCFramework/release CI builds compile by adding RequestSizeCalculation.swift to the project (file reference, group membership, and Sources build phase).

Also includes minor reordering/relocation of a few existing test file entries in the project file with no intended behavior change.

Reviewed by Cursor Bugbot for commit f4e04af. Bugbot is set up for automated code reviews on this repo. Configure here.

The file was added in #6694 but not registered in the hand-maintained
RevenueCat.xcodeproj used by the XCFramework build, breaking
release-checks.

Made-with: Cursor
@ajpallares ajpallares requested a review from a team as a code owner April 30, 2026 07:08
@ajpallares ajpallares enabled auto-merge (squash) April 30, 2026 07:11
@ajpallares ajpallares merged commit 0dbac51 into main Apr 30, 2026
16 of 19 checks passed
@ajpallares ajpallares deleted the pallares/fix-xcframework-missing-request-size-calculation branch April 30, 2026 07:20
ajpallares added a commit that referenced this pull request Apr 30, 2026
ajpallares added a commit that referenced this pull request Apr 30, 2026
ajpallares added a commit that referenced this pull request Apr 30, 2026
The Dangerfile already detects Swift files that are added (or removed)
on disk but not registered in the hand-maintained `RevenueCat.xcodeproj`.
Until now, that mismatch was reported as a warning, so PRs could merge
in a state that breaks the xcframework build (see #6713/#6694).

Promote the existing `warn` to `fail` so the PR's required Danger check
blocks merge until the project file is in sync.

Made-with: Cursor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants