어플개발/Flutter

[Flutter] The app references non-public selectors in Payload 경고

Choi Jaekuk 2023. 4. 10. 11:00

The app references non-public selectors in Payload/Runner.app/Runner: fontWeight, relativeSize, spanArray, spanArray_Count, strikeThrough, underline

 

Flutter 앱을 수정하고 app store 배포를 위해 Xcode 에서 Archives -> Distribute App을 진행하였다.

 

하지만 진행 결과 평소와 달리 아래와 같은 경고창이 나타났다. 

 

i1
The app references non-public selectors in Payload/Runner.app/Runner: fontWeight, relativeSize, spanArray, spanArray_Count, strikeThrough, underline

 

이후 Done 클릭시 App Store Connect에 새 버전은 업로드 되었지만. 경고가 나중에 문제될수도 있어서 해결방법을 찾기로 하였다.

 

i2

이전 설정에서 변경한 Minimum Deployments가 원인으로 예상되어 iOS 버전을 12.0으로 내리고 다시 Archives 결과 에러가 사라지고 정상적으로 업로드 되었다.

 

i3