2020. 3. 18. 11:18ㆍDev
[에러메시지]
PhaseScriptExecution [CP]\ Copy\ Pods\ Resources /Users/company/Library/Developer/Xcode/DerivedData/homebutton-cerfmfrgqkfxeudgwnclipmhpydh/Build/Intermediates.noindex/homebutton.build/Debug-iphonesimulator/homebutton.build/Script-1E05B8DBBFC2ACC52CFD94AC.sh (in target 'homebutton' from project 'homebutton')
cd /Users/company/Documents/homebutton_cordova/platforms/ios
/bin/sh -c /Users/company/Library/Developer/Xcode/DerivedData/homebutton-cerfmfrgqkfxeudgwnclipmhpydh/Build/Intermediates.noindex/homebutton.build/Debug-iphonesimulator/homebutton.build/Script-1E05B8DBBFC2ACC52CFD94AC.sh
/Users/company/Documents/homebutton_cordova/platforms/ios/Pods/GoogleSignIn/Resources/GoogleSignIn.bundle
error: Resource "/Users/company/Library/Developer/Xcode/DerivedData/homebutton-cerfmfrgqkfxeudgwnclipmhpydh/Build/Products/Debug-iphonesimulator/GoogleTagManager/TagManagerResources.bundle" not found. Run 'pod install' to update the copy resources script.
warning: Capabilities for Signing & Capabilities may not function correctly because its entitlements use a placeholder team ID. To resolve this, select a development team in the homebutton editor. (in target 'homebutton' from project 'homebutton')
** BUILD FAILED **
The following build commands failed:
PhaseScriptExecution [CP]\ Copy\ Pods\ Resources /Users/company/Library/Developer/Xcode/DerivedData/homebutton-cerfmfrgqkfxeudgwnclipmhpydh/Build/Intermediates.noindex/homebutton.build/Debug-iphonesimulator/homebutton.build/Script-1E05B8DBBFC2ACC52CFD94AC.sh
(1 failure)
xcodebuild: Command failed with exit code 65
[해결방법]
우선, pod install 명령어 실행한 후 다시 빌드 해봤으나, 여전히 에러가 발생하여
구글링해보니 cordova CLI build 이슈이면서, cordova 버전을 8.0.1 버전으로 다운하라는 얘기가 있었다.
내 cordova 버전은 9.0.0 이라서, 버전을 낮추고 다시 안드로이드/iOS 빌드하는 건 너무 일이 커질 것 같았다.
다행이 이 에러가 발생해도 xcode 프로그램에서 빌드를 실행하면 문제가 없었다.
구글링 : https://github.com/dpa99c/cordova-plugin-firebasex/issues/342
'Dev' 카테고리의 다른 글
[자바] java8 stream 리스트 객체 2개 비교 (0) | 2022.02.11 |
---|---|
NginX 설정 후, 원하는 페이지로 리다이렉팅이 안 되는 현상(13: Permission denied) (0) | 2020.08.07 |
[Tip] Mac에서 cordova build android 실행 시, Command failed with exit code EACCES 에러 해결방법 (0) | 2020.03.16 |