Skip to content

Conversation

@xiaoyu0722
Copy link
Contributor

No description provided.

@xiaoyu0722 xiaoyu0722 requested a review from a team as a code owner October 22, 2025 06:28
@xiaoyu0722 xiaoyu0722 requested review from billzhou0223 and removed request for a team October 22, 2025 06:28
if #available(iOS 26.0, *) {
return Capsule()
} else {
#if swift(>=6.0)
Copy link
Contributor

Choose a reason for hiding this comment

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

Our SDK is using Swift compiler 5.9. (See Package.swift, the first line)
Mobile Start team consumes it as binary framework(not source code)

That means, our binary framework will always return RoundedRectangle(cornerRadius: 9) at line 62. No capsule will be returned at all.
For Mobile Start team, even if they use Swift compiler 6.0, they will not reach the "if" side of the code.

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.

2 participants