적당한 고통은 희열이다

- 댄 브라운 '다빈치 코드' 중에서

초보 iOS 개발자의 일상/이슈모음집

ERROR ITMS-90208: "Invalid Bundle." (feat. mobile-ffmpeg-full)

hongssup_ 2021. 6. 11. 23:40
반응형

210610 

앱스토어에 심사 요청하려고 아카이브 업로드 하는데 다음과 같은 에러가 계속 발생하여 아카이브 업로드를 못하고 있었다. 

App Store Connect Operation Error

ERROR ITMS-90208: "Invalid Bundle. The bundle your.app/Frameworks/libavcodec.framework does not support the minimum OS Version specified in the Info.plist."

 

App Store Connect Operation Error

ERROR ITMS-90208: "Invalid Bundle. The bundle your.app/Frameworks/libavdevice.framework does not support the minimum OS Version specified in the Info.plist."

 

App Store Connect Operation Error

ERROR ITMS-90208: "Invalid Bundle. The bundle your.app/Frameworks/libavfilter.framework does not support the minimum OS Version specified in the Info.plist."

 

App Store Connect Operation Error

ERROR ITMS-90208: "Invalid Bundle. The bundle your.app/Frameworks/libavformat.framework does not support the minimum OS Version specified in the Info.plist."

 

App Store Connect Operation Error

ERROR ITMS-90208: "Invalid Bundle. The bundle your.app/Frameworks/libavutil.framework does not support the minimum OS Version specified in the Info.plist."

 

App Store Connect Operation Error

ERROR ITMS-90208: "Invalid Bundle. The bundle your.app/Frameworks/libswresample.framework does not support the minimum OS Version specified in the Info.plist."

 

App Store Connect Operation Error

ERROR ITMS-90208: "Invalid Bundle. The bundle your.app/Frameworks/libswscale.framework does not support the minimum OS Version specified in the Info.plist."

 

 

프레임워크가 최소 OS 버전을 지원하지 않는다기에 

프로젝트 iOS 버전 오류 인줄 알고 오만 삽질 다했는데 안되더라. ㅠㅠ 

검색 결과도 많지 않았지만, 먼저 프로젝트 내에서 설정해준 OS 버전들이 일치하지 않으면 이런 오류가 뜨는 경우가 있다고 하여 버전을 다 통일해주었다. 

Project - Info - Deployment Target - iOS 10.0

Targets - General - Deployment Info - iOS 10.0

그리고 나는 없었는데 Info.plist 파일 안에 minimumOSVersion이 있는 경우도 있는것 같았다. 

이렇게 통일 해주었는데도 안돼서 버전이 문젠가 하여 버전도 12.0까지 올려봤는데도 안되고 

cocoapods 대신 universal binaries 를 사용하여 설치하면 된다는 얘기가 있어 시도해봤지만 실패...

-------------------------여기까지가 삽질 ㅎㅎ

install_framework "${PODS_ROOT}/mobile-ffmpeg-full/mobileffmpeg.framework"

install_framework "${PODS_ROOT}/mobile-ffmpeg-full/libavcodec.framework"

install_framework "${PODS_ROOT}/mobile-ffmpeg-full/libavdevice.framework"

install_framework "${PODS_ROOT}/mobile-ffmpeg-full/libavfilter.framework"

install_framework "${PODS_ROOT}/mobile-ffmpeg-full/libavformat.framework"

install_framework "${PODS_ROOT}/mobile-ffmpeg-full/libavutil.framework"

install_framework "${PODS_ROOT}/mobile-ffmpeg-full/libswresample.framework"

install_framework "${PODS_ROOT}/mobile-ffmpeg-full/libswscale.framework"

일단 얘네들이 다 문제인건데... 전부 mobile-ffmpeg-full 이라는 라이브러리 안에 들어있는 친구들이었다. 

이 라이브러리의 버전을 높이니깐 무사히 업로드가 되었다 ㅠㅠㅠㅠㅠㅠ

mobile-ffmpeg-full ver.3.1 -> 4.3

해석의 오류인가 ㅎㅎㅎ iOS 타겟 버전 문제인줄 알았더니 라이브러리 버전 문제였구만.. 

에러 해결하고 나면 넘나 허무한 ㅠㅠ 

 

그래서 이 문제의 라이브러리가 무얼 하는 것이냐!

ffmpeg의 모바일 버전. 

Fast Forward MPEG

ffmpeg is a command-line tool that converts audio or video formats. It can also capture and encode in real-time from various hardware and software sources such as a TV capture card. ffplay is a simple media player utilizing SDL and the FFmpeg libraries.

비디오, 오디오 및 기타 멀티미디어 파일과 스트림을 처리하기 위한 대규모 라이브러리와 프로그램으로 구성된 무료 오픈 소스 소프트웨어 프로젝트. 

디지털 음성 스트림과 영상 스트림에 대해 다양한 종류의 형태로 기록하고 변환하는 컴퓨터 프로그램. 여러 프로젝트에서 쓰이는 음성/영상 코덱 라이브러리인 libavcodec 등의 다양한 라이브러리를 포함하고 있다. (멀티미디어 프레임워크)

참고 : https://ko.wikipedia.org/wiki/FFmpeg

 

FFmpeg - 위키백과, 우리 모두의 백과사전

위키백과, 우리 모두의 백과사전. FFmpeg원저자파브리스 벨라드개발자FFmpeg 팀발표일2000년 12월 20일 (20년 전)(2000-12-20)[1]안정화 버전4.3.1 / 2020년 7월 11일 (11개월 전)(2020-07-11) 저장소 프로그래밍 언

ko.wikipedia.org

https://github.com/tanersener/mobile-ffmpeg

 

tanersener/mobile-ffmpeg

FFmpeg for Android, iOS and tvOS. Not maintained anymore. Superseded by FFmpegKit. - tanersener/mobile-ffmpeg

github.com

 

728x90
반응형