에러 상황
Xcode로 앱을 빌드한 후 스토어에 Archive 하려는 도중 해당 오류가 발생했다.
에러 코드
Reached end of file while looking for: Mach-O slice.
해결 방법
해당 오류는 빌드 시 프로젝트 폴더 내에 zip 파일이나 .class 파일이 존재하는 경우 발생하는 오류이다.
Android OS에서 사용할 apk 파일을 생성한 후 카카오톡으로 전송하기 위해 확장자를 zip로 바꾸면서 오류가 발생했다.
해당 파일을 삭제하고 재빌드한 후 재배포를 했고 오류없이 빌드 및 배포에 성공했다.
참고 사이트
https://stackoverflow.com/questions/72210303/reached-end-of-file-while-looking-for-mach-o-slice
Reached end of file while looking for: Mach-O slice
I am building a ReactNative application. Able to run the app from xcode to device or simulator. But while exporting i am facing the following error Logs doesn't show which library causing the issue...
stackoverflow.com
'📱Mobile > 오류해결' 카테고리의 다른 글
[iOS] Error: No Firebase App '[DEFAULT]' has been created - call firebase.initializeApp() (0) | 2025.03.12 |
---|---|
[iOS] could not build objective-c module (0) | 2025.03.11 |
[React Native] react-native init 오류 - TypeError: cli.init is not a function (0) | 2024.01.11 |
[iOS] iOS 배포 오류 React-Native-Splash-Screen Symbolic Link (1) | 2023.10.27 |
[Android] NAVER Login Error (0) | 2023.03.24 |
댓글