- Clean Build Folder
- Command + Shift + K
- Build Cache 삭제
- Xcode > Preferneces > Location > DerivedData > 프로젝트 폴더 삭제
빌드 초기화하면 해결되는 경우들
failed to build ios project. we ran "xcodebuild" command but it exited with error code 65. ( xcode 내부 번들이 꼬여서 발생하는 에러 )
BEFORE | AFTER |
---|---|
![]() | ![]() |
- new Date.toLocaleDateString
iOS 심사에서 main.jsbundle 에서 계속 crash 가 떠서 몇 차례 고생한 경험 crash log를 통해 jsbundle 을 분석한 결과 new Date(xxx).toLocaleDateString() 에서 error 가 발생함을 알게 되었다. yyyy, mm, dd 를 구하려는 코드였기 때문에 new Date.getFullYear 등으로 교체했더니 정상적으로 심사 통과가 되었다. iOS 에서 사용 시 주의할 것.