Xcode 27 Beta Compilation Fix#6949
Merged
Merged
Conversation
ajpallares
approved these changes
Jun 8, 2026
ajpallares
left a comment
Member
There was a problem hiding this comment.
Thanks for the quick fix! We've seen similar issues in the past, with other Xcode minor releases. So this makes sense!
Comment on lines
+11
to
+12
| - build | ||
| - "**/DerivedSources/GeneratedAssetSymbols.swift" |
Contributor
Author
There was a problem hiding this comment.
I'm getting swiftlint failures in xcode 27 beta 1 due to linting issues in these generated files
Contributor
Author
|
Will merge despite the iOS 15 UI failure, since that test is failing in main |
Member
|
Just beat me to it haha, thank you! 💪 |
This was referenced Jun 8, 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.
Summary
Fixes an Xcode 27 beta build failure in
PaywallColor.swift, and prevents SwiftLint from reporting violations in Xcode-generated asset symbol files.Description
Fix
PaywallColorinitializer collisionXcode 27 reports a build failure in PaywallColor:
The fix moves the private designated initializer into the primary PaywallColor struct declaration. Declaring an initializer in the primary type suppresses memberwise initializer synthesis, avoiding the collision while preserving the existing public API.
Exclude generated asset symbol files from SwiftLint
SwiftLint was recursively scanning the local Xcode build/ directory and reporting errors in generated files such as:
This change excludes generated build output from SwiftLint:
Note
Low Risk
Lint config and internal initializer placement only; no public API or runtime behavior changes.
Overview
Addresses Xcode 27 beta build/lint friction in two places.
SwiftLint now ignores the
buildtree and Xcode-generatedGeneratedAssetSymbols.swiftunderDerivedSources, so lint does not run on artifacts the new toolchain emits.PaywallColormoves the private designatedinit(stringRepresentation:underlyingColor:)from the public-constructors extension into the main struct body. Behavior is unchanged; the reorder satisfies stricter visibility/initialization rules in the beta compiler so paywall color construction still compiles.Reviewed by Cursor Bugbot for commit 508142c. Bugbot is set up for automated code reviews on this repo. Configure here.