Skip to content

[Fix] Xcode 27에서 멈춘 빌드를 온보딩 시계 도형 격리로 되살린다 - #240

Merged
MinHeokChoi merged 1 commit into
mainfrom
fix/xcode27-shape-isolation
Sep 23, 2026
Merged

MinHeokChoi merged 1 commit into
mainfrom
fix/xcode27-shape-isolation

Conversation

@MinHeokChoi

Copy link
Copy Markdown
Contributor

✨ PR 유형

어떤 변경 사항이 있나요??

  • 버그 수정
  • 빌드 부분 혹은 패키지 매니저 수정

🛠️ 작업내용

[Fix] Xcode 27에서 멈춘 빌드를 온보딩 시계 도형 격리로 되살린다

9/20에 Xcode가 **27.0 (27A266a)**로 올라간 뒤 main이 빌드되지 않았다. 에러는 한 건이다.

OnboardingFlowView.swift:515: conformance of 'ClockDurationSector' to protocol 'Shape'
crosses into main actor-isolated code and can cause data races [#ConformanceIsolation]

앱 타깃은 SWIFT_DEFAULT_ACTOR_ISOLATION = MainActor라 표시 없는 이 도형도 메인 액터에 묶인다.
Shape.path(in:)은 SwiftUI가 어느 스레드에서든 부를 수 있는 요구사항이라, 새 컴파일러가 이 교차를
에러로 막는다.

ClockDurationSector는 progress 하나로 경로를 계산할 뿐 메인 액터 상태를 읽지 않으므로
nonisolated로 푼다. @preconcurrency로 검사를 미루는 대신 격리가 필요 없다는 사실을 그대로 적었다.
앱 안의 Shape 준수는 이것 하나뿐이다.

📋 추후 진행 상황

열린 PR(#233~#237, #239)도 모두 이 에러로 빌드되지 않는다. 이 PR이 먼저 들어가야 한다.

✅ 검증

  • Xcode 27.0 / iOS 26.5 시뮬레이터 smoke 플랜 1,043개 통과 (3 skip, 0 실패)
  • 한 줄 변경, 동작·외형 변화 없음

🤖 Generated with Claude Code

Xcode 27.0(27A266a)으로 올라가자 앱이 에러 한 건으로 빌드되지 않았다.

  OnboardingFlowView.swift:515: conformance of 'ClockDurationSector' to
  protocol 'Shape' crosses into main actor-isolated code and can cause
  data races [#ConformanceIsolation]

타깃이 SWIFT_DEFAULT_ACTOR_ISOLATION = MainActor라서 별도 표시가 없는 이
도형도 메인 액터에 묶인다. 그런데 Shape의 path(in:)는 SwiftUI가 어느
스레드에서든 부를 수 있는 요구사항이라, 새 컴파일러가 이 교차를 경고가
아니라 에러로 막는다.

ClockDurationSector는 progress 값 하나로 경로를 계산할 뿐 메인 액터 상태를
읽지 않으므로 nonisolated로 푼다. @preconcurrency로 검사를 미루는 대신
실제로 격리가 필요 없다는 사실을 그대로 적는 쪽을 택했다. 앱 안의 Shape
준수는 이것 하나뿐이다.

Co-Authored-By: Claude <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Sep 23, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: fc61d8f7-2d1c-4341-a4fb-2981b139cf0e


Comment @coderabbitai help to get the list of available commands.

@MinHeokChoi
MinHeokChoi merged commit 396bbad into main Sep 23, 2026
5 checks passed
@MinHeokChoi
MinHeokChoi deleted the fix/xcode27-shape-isolation branch September 23, 2026 23:44
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.

1 participant