cordova build ios 실행 시, 'TagManagerResources.bundle' not found error 발생

2020. 3. 18. 11:18Dev

반응형

[에러메시지]

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

 

반응형