나의 발자취
iOS Command PhaseScriptExecution failed with a nonzero exit code 문제 본문
자세히 보면
bash: /Users/lia/Profile/node_modules/react-native/scripts/generate-specs.sh: Permission denied
Command PhaseScriptExecution failed with a nonzero exit code
접근권한이 없어서 생긴 에러다.
해결방법
터미널에서 해당 파일의 경로로 이동한다.
그리고
chmod +x 해당파일
을 입력한다. 아래와 같이.
그리고 다시 XCode에서 프로젝트를 빌드한다.
그런데도 계속 에러가 뜬다면?
XCode > File > Workspace settings 에 가서 Build System을 Legacy Build System으로 변경한다.
'앱 개발 > iOS' 카테고리의 다른 글
사파리 pinned tab이 메모리와 CPU를 많이 사용할까? (0) | 2021.09.30 |
---|---|
TIL (0) | 2021.09.29 |
애플의 디자인 철학 HIG (0) | 2021.09.07 |
iOS linker command failed with exit code 1 (use -v to see invocation), apple mach-o linker error 해결 (0) | 2021.07.04 |
iOS module map file /YogaKit/YogaKit.modulemap' not found 에러 문제 (0) | 2021.07.04 |
Comments