애플 앱스토어 등록시 오류...

새로운 기능을 추가해서 기존 앱을 업데이트 할려고 합니다.

기존에는 Parse 서버에서 파일 저장 스킴을 이용해서 파일을 서버에 저장했는데 효율적이지가 않아 S3에 직접 파일을 업로드 할려고
아마존 AWS SDK를 가지고 업로드 모듈을 만들었습니다.
빌드하고 로컬에서 테스트도 아무 문제 없어 production으로 빌드해서 앱스토어에 올리려고 하는데…

아래와 같은 메일이 날라왔네요.
먼가 tiapp.xml 에서 관련하여 기술해야 할 내용이 있나요?

Invalid Bundle Structure - The binary file ‘ZZIMM.app/modules/complete.mirrorclient/AWSCore.framework/AWSCore’ is not permitted. Your app can’t contain standalone executables or libraries, other than the CFBundleExecutable of supported bundles. Refer to the Bundle Programming Guide for information on the iOS app bundle structure.

Invalid Bundle Structure - The binary file ‘ZZIMM.app/modules/complete.mirrorclient/AWSS3.framework/AWSS3’ is not permitted. Your app can’t contain standalone executables or libraries, other than the CFBundleExecutable of supported bundles. Refer to the Bundle Programming Guide for information on the iOS app bundle structure.

Invalid Bundle Structure - The binary file ‘ZZIMM.app/modules/complete.mirrorclient/AWSCore.framework/Versions/A/AWSCore’ is not permitted. Your app can’t contain standalone executables or libraries, other than the CFBundleExecutable of supported bundles. Refer to the Bundle Programming Guide for information on the iOS app bundle structure.

Invalid Bundle Structure - The binary file ‘ZZIMM.app/modules/complete.mirrorclient/AWSCore.framework/Versions/Current/AWSCore’ is not permitted. Your app can’t contain standalone executables or libraries, other than the CFBundleExecutable of supported bundles. Refer to the Bundle Programming Guide for information on the iOS app bundle structure.

Invalid Bundle Structure - The binary file ‘ZZIMM.app/modules/complete.mirrorclient/AWSS3.framework/Versions/Current/AWSS3’ is not permitted. Your app can’t contain standalone executables or libraries, other than the CFBundleExecutable of supported bundles. Refer to the Bundle Programming Guide for information on the iOS app bundle structure.

Invalid Bundle Structure - The binary file ‘ZZIMM.app/modules/complete.mirrorclient/AWSS3.framework/Versions/A/AWSS3’ is not permitted. Your app can’t contain standalone executables or libraries, other than the CFBundleExecutable of supported bundles. Refer to the Bundle Programming Guide for information on the iOS app bundle structure.

자문자답이네요…
ios 모듈 만들때 3rd party framework 를 링크시키는 과정에서 framework 파일이 여기저기 카피가 됐나 봅니다…
모듈의 assets 폴더에 framework 파일이 포함되어 있어서 삭제했더니 문제없이 등록되네요.
아래 글 참고하세요.

http://onebigfunction.com/ios/2015/03/15/invalid-bundle-structure/

1개의 좋아요

그때 그 문제를 해결하셨나보군요!