Skip to content

[Billing Plans]: Introduce Xcode 26.5 build job + handle StoreKitError.paymentMethodBindingConfigurationRequired#6767

Merged
fire-at-will merged 10 commits into
mainfrom
xcode-265-build
May 12, 2026
Merged

[Billing Plans]: Introduce Xcode 26.5 build job + handle StoreKitError.paymentMethodBindingConfigurationRequired#6767
fire-at-will merged 10 commits into
mainfrom
xcode-265-build

Conversation

@fire-at-will

@fire-at-will fire-at-will commented May 11, 2026

Copy link
Copy Markdown
Contributor

Motivation

Support for billing plans requires APIs that were shipped in Xcode 26.5. However, we can't run tests on Xcode/iOS 26.5 because of a StoreKit bug where fetching products doesn't work in tests on those versions.

The least we can do is build the SDK using those Xcode/iOS versions to confirm that the SDK compiles there :)

Description

  • Introduce a new build-ios-265 job that builds the SDK using Xcode 26.5
  • Introduce handling for the new StoreKitError.paymentMethodBindingConfigurationRequired

Note

It looks like the installation-tests-all-but-carthage job is failing in CI, but it's also failing in main right now, so it's unrelated to these changes.


Note

Medium Risk
Medium risk: changes CI gating by adding a new required job, which can block merges if the Xcode 26.5 environment is unstable; runtime behavior changes only for a newly introduced StoreKit error case and is compiler-gated.

Overview
Adds a new CircleCI build-xcode-265 job that builds (but does not run tests) with Xcode 26.5 across key schemes, and makes it part of the PR and release workflow gates (including on-demand job generation).

Updates StoreKit error handling to recognize the new paymentMethodBindingConfigurationRequired case (compiler-gated for Xcode 26.5+) and map it to a store-problem error plus a dedicated tracking string.

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

@fire-at-will fire-at-will changed the title Xcode 265 build [Billing Plans]: Introduce Xcode 26.5 build job May 11, 2026
@fire-at-will fire-at-will changed the base branch from billing-plans-dev to main May 11, 2026 16:46
@fire-at-will fire-at-will changed the title [Billing Plans]: Introduce Xcode 26.5 build job [Billing Plans]: Introduce Xcode 26.5 build job + handle StoreKitError.paymentMethodBindingConfigurationRequired May 11, 2026
@fire-at-will fire-at-will marked this pull request as ready for review May 11, 2026 16:50
@fire-at-will fire-at-will requested a review from a team as a code owner May 11, 2026 16:50
@fire-at-will

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a806a52340

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread Sources/Error Handling/StoreKitError+Extensions.swift Outdated

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit a806a52. Configure here.

Comment thread Sources/Error Handling/StoreKitError+Extensions.swift Outdated

@ajpallares ajpallares left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense! And good idea about at least building for Xcode 26.5 👌

@tonidero tonidero left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this makes sense! Just a small comment

destination: scan-test-output-ios-26
- slack-notify-on-fail

build-xcode-265:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we add a comment on this one and the reason why we're not running tests? Just so we don't forget.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea! Added in 4b1b3fd

@fire-at-will fire-at-will merged commit 48eda78 into main May 12, 2026
41 of 42 checks passed
@fire-at-will fire-at-will deleted the xcode-265-build branch May 12, 2026 15:13
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.

4 participants