[xcode26] preview canvas에서 GroupRecordingError / Error encountered during update group 에러 발생 시

2025. 12. 31.



dev, prod 스킴 설정하고 이것저것 고치다가 view preview를 하나 봤는데 계속 크래시가 났다.

심지어 빌드는 성공했는데도..

 

GroupRecordingError  / Error encountered during update group 등등이 적힌 로그가 떴는데 검색해도 정보가 없었다.

 

빌드 캐시 다 날려보고 온갖 난리부르스,

심지어는 그냥 텍스트만 띄워서 보려고 해도 안돼서

스킴, build configuration 잘못 건드렸나 하고 하루종일 삽질,

git도 되돌리고 아주 별짓을 다해도 안되고

아무래도 이상해서 계속 검색하다보니 비슷한 증상의 stackoverflow 글을 발견..

 

https://stackoverflow.com/questions/79813033/swiftui-preview-not-working-in-xcode-26-when-automatically-refresh-canvas-is-e

 

SwiftUI preview not working in Xcode 26 when “Automatically Refresh Canvas” is enabled

After updating to Xcode 26, I’m no longer able to load SwiftUI previews in new projects. The preview pane shows the error: Cannot preview in this file. Interestingly, if I disable “Automatically

stackoverflow.com

 

글에 적힌 것처럼

Editor > Canvas > Automatically Refresh Canvas 이걸 비활성화 해주니 거짓말처럼 view가 뿅 하고 떴다..

xcode26 업데이트 후 버그인 것 같다 ㅠ

 

댓글