티스토리 뷰

문제 내용

윈도우에서 만든 유니티 빌드 파일을 맥북으로 보낸 후, 이를 XCODE에서 아이폰으로 빌드시 발생한 2가지 문제

 

오류메세지 1

- Command PhaseScriptExecution failed with a nonzero exit code

MapFileParser.sh 파일의 권한이 없다는 내용으로 아래의 명령어를 터미널에 입력하여 해결

- .sh 파일은 사람마다 다를 수 있으니 콘솔창을 보고 해당하는 .sh 파일이 위치한 폴더로 이동 후 chmod +x 파일명.sh 입력

chmod +x MapFileParser.sh

 

오류메세지 2

- Build input file cannot be found: '/Users/jaehwak/Documents/Unity_AR/window_drive_builds/Build/LaunchScreen-iPad.storyboard'. Did you forget to declare this file as an output of a script phase or custom build rule which produces it?

- Build input file cannot be found: '/Users/jaehwak/Documents/Unity_AR/window_drive_builds/Build/LaunchScreen-iPhone.storyboard'. Did you forget to declare this file as an output of a script phase or custom build rule which produces it?

LaunchScreen-iPad.storyboard 와 LaunchScreen-iPhone.storyboard 없다는 오류로 파일의 이름이 바뀌어 발생한 문제

위와 같이 이름이 바뀌어 발생한 문제로 이름의 .xml을 지워주면 해결된다.

.storyboard 사용 클릭
이미지처럼 이름을 수정하면 된다.

 

정상적으로 아이폰에 빌드가 된다.

 

맥북에서 다른 작업중이라 일단 윈도우에서 만들어서 넘겨봤는데 불편한 점이 많은 것 같다...

'기타 정보' 카테고리의 다른 글

[티스토리 수식 입력] LaTeX 사용  (6) 2023.02.21
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2025/02   »
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28
글 보관함