[Flutter/Xcode] Archive부터 AppStore 배포할 때 까지 생긴 오류들

송상민·2022년 11월 7일
1

Flutter

목록 보기
9/13
post-thumbnail

Archive에서 AppStore에 앱을 배포할 때 까지 생긴 오류들을 정리해보려 한다.


Archive 할 때

Xcode에서 Archive를 누르고 기다리는데

Module 'FIrebase_auth' not found

라는 메세지와 빌드 오류가 났다.

>> flutter clean
>> flutter pub get
>> cd ios
>> pod install

이 네가지를 먼저 해보았는데 여전히 에러.

이 후에 TARGETS/RunnerDeployment Info의 iOS 버전 PROJECT/Runner의 iOS Deployment Target의 버전을 맞춰주니 Archive 시작.

Distribute App 할 때


Archive 이 후 Distribute App을 진행할 때


이런 에러가 발생하였다.

대충 구글링 해보고나니

~/Library/MobileDevice/Provisioning Profiles/ 안에 파일들을 제거하면 해결 된다고 나온다.

이 방법이 나에게도 효과가 있었고, 이 파일들은 빌드나 Distribute App을 하게 되면 자동으로 생성되니 지워도 무방하다.

이 후 앱에 서명이 완료 되고

Appstore Connect operation error Asset validation failed

라는 에러가 뜨고 자세히 살펴보니

a 76x76@2x app icon is required for ipad apps targeting ios 7.0 and later
a 83.5x83.5@2x app icon is required for ipad apps targeting ios 7.0 and later

라는 에러였다.

이 에러는 Asset에 해당 사이즈에 맞는 이미지를 채워주면 해결된다.
또는 위에 에러만 떳을 때 버전의 숫자를 높였는지 확인하면 된다고 StackOverflow에 나온다.

마지막으로 나오는 에러가 있었는데

All interface orientations must be supported unless the app requires full screen

이 에러였다.

이 에러는 TARGETS/RUNNER의 Deployment Info에 Status Bar Style 밑에 있는 Requires full Screen을 체크해주면 된다.

Flutter 하다보면 늘 이렇게 자잘자잘한 오류들이 많은데 도움이 되시길!

profile
실력있는 Flutter 개발자가 되어보자

0개의 댓글