본문 바로가기

💻 개발IT/Swift

[Swift] Type 'WidgetFamily' has no member 'accessory~'

문제 상황 

lockscreen 위젯을 만들고 싶었는데

아래와 같은 에러가 났다.

Type 'WidgetFamily' has no member 'accessoryInline'

 

 

해결 방법

X code 버전을 14.0으로 업데이트해야 한다.

이를 위해 먼저 맥북 버전 Monterey 12.6 으로 업데이트가 필요하다.

 

좌측 애플 아이콘 이 Mac에 관하여 → 소프트웨어 업데이트

 

업데이트를 완료한 뒤

앱스토어에서 X code를 업데이트해주면 해결

반응형

You are seeing this message because ad or script blocking software is interfering with this page.
Disable any ad or script blocking software, then reload this page.