Repository navigation
[Fix] Xcode 27에서 멈춘 빌드를 온보딩 시계 도형 격리로 되살린다 - #240
Merged
Merged
Conversation
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>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: Comment |
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.
✨ PR 유형
어떤 변경 사항이 있나요??
🛠️ 작업내용
[Fix] Xcode 27에서 멈춘 빌드를 온보딩 시계 도형 격리로 되살린다
9/20에 Xcode가 **27.0 (27A266a)**로 올라간 뒤 main이 빌드되지 않았다. 에러는 한 건이다.
앱 타깃은
SWIFT_DEFAULT_ACTOR_ISOLATION = MainActor라 표시 없는 이 도형도 메인 액터에 묶인다.Shape.path(in:)은 SwiftUI가 어느 스레드에서든 부를 수 있는 요구사항이라, 새 컴파일러가 이 교차를에러로 막는다.
ClockDurationSector는progress하나로 경로를 계산할 뿐 메인 액터 상태를 읽지 않으므로nonisolated로 푼다.@preconcurrency로 검사를 미루는 대신 격리가 필요 없다는 사실을 그대로 적었다.앱 안의
Shape준수는 이것 하나뿐이다.📋 추후 진행 상황
열린 PR(#233~#237, #239)도 모두 이 에러로 빌드되지 않는다. 이 PR이 먼저 들어가야 한다.
✅ 검증
🤖 Generated with Claude Code