Skip to content

Conversation

@lmarceau
Copy link
Contributor

@lmarceau lmarceau commented Jan 5, 2026

📜 Tickets

Jira ticket
Github issue

💡 Description

Remove the SWIFT_VERSION definition, as turns out in the project current state this has no effect anymore. Something probably changed since last time I had to change it.

I double-checked what version of swift we have at runtime by adding this code somewhere in the codebase (under an AppDelegate function works well since it's called early).

#if swift(>=6.2)
        print("Hello, Swift 6.2")

#elseif swift(>=6.0)
        print("Hello, Swift 6.0")

#elseif swift(>=5.10)
        print("Hello, Swift 5.10")

#endif

With those print statements, whatever the SWIFT_VERSION in Common, we always hit Hello, Swift 6.2.

📝 Checklist

  • I filled in the ticket numbers and a description of my work
  • I updated the PR name to follow our PR naming guidelines
  • I ensured unit tests pass and wrote tests for new code
  • If working on UI, I checked and implemented accessibility (Dynamic Text and VoiceOver)
  • If adding telemetry, I read the data stewardship requirements and will request a data review
  • If adding or modifying strings, I read the guidelines and will request a string review from l10n
  • If needed, I updated documentation and added comments to complex code

@lmarceau lmarceau requested a review from ih-codes January 5, 2026 20:35
@lmarceau lmarceau requested a review from a team as a code owner January 5, 2026 20:35
@mobiletest-ci-bot
Copy link

🧹 Tidy commit

Just 2 file(s) touched. Thanks for keeping it clean and review-friendly!

💬 Description craftsman

Great PR description! Reviewers salute you 🫡

✅ Per-file coverage

All changed files meet the threshold of 35.0%.

Generated by 🚫 Danger Swift against 634e07e

Copy link
Collaborator

@ih-codes ih-codes left a comment

Choose a reason for hiding this comment

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

Good to know, thanks for checking this!! 💪

@lmarceau lmarceau merged commit 426d0ff into main Jan 6, 2026
8 checks passed
@lmarceau lmarceau deleted the lm/cleanup-common-xcconfig-file branch January 6, 2026 15:20
@github-actions
Copy link
Contributor

github-actions bot commented Jan 6, 2026

🚀 PR merged to main, targeting version: 147.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants