본문 바로가기
Xcode/ERROR

ERROR) TestFlight 배포시 발생하는 Pod PhaseScriptExecution rsync --delete 오류 (feat: Xcode14.3, Cocoapod 1.12.0)

by 후르륵짭짭 2023. 4. 22.
728x90
반응형

안녕하세요 후르륵짭짭입니다.

이번에는 TestFlight에 테스트 앱을 배포하는데 발생한 오류 해결 방법에 대해 작성해보려 합니다.

아래와 비슷하게 오류가 발생했는데, 구글링 하다가 찾아서 작성하려고 합니다. 

PhaseScriptExecution [CP]\ Embed\ Pods\ Frameworks

mkdir -p /Users/max/Library/Developer/Xcode/DerivedData/Max-dmwafkgdrzqavzcmbdjbjgmmuxby/Build/Intermediates.noindex/ArchiveIntermediates/Release_preprod/BuildProductsPath/Release_preprod-iphoneos/MaxApp.app/Frameworks

Symlinked...

rsync --delete -av --filter P .*.?????? --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "../../../IntermediateBuildFilesPath/UninstalledProducts/iphoneos/ActionSheetPicker_3_0.framework" "/Users/max/Library/Developer/Xcode/DerivedData/Max-dmwafkgdrzqavzcmbdjbjgmmuxby/Build/Intermediates.noindex/ArchiveIntermediates/Release_preprod/InstallationBuildProductsLocation/Applications/MaxApp.app/Frameworks"

building file list ... rsync: link_stat "/Users/max/Workspace/MaxApp/../../../IntermediateBuildFilesPath/UninstalledProducts/iphoneos/ActionSheetPicker_3_0.framework" failed: No such file or directory (2)

 

해결 방법은 아주 간단합니다 .

프로젝트에서 아래 Path에서 Shell Script를 열면

Pods -> Target Support Files -> Pods-<프로젝트명> -> Pods-<프로젝트명>-frameworks.sh

그리고 해당 부분을 찾아서 아래와 같이 수정해줍니다.

source="$(readlink "${source}")"  ==> source="$(readlink -f "${source}")"

 

이렇게 수정하면 정상작동 합니다!

끝!

 

** 참고 사이트 ** 

https://developer.apple.com/forums/thread/725230?answerId=746897022#746897022 

 

Upgrade from xCode 14.2 to 14.3 Ph… | Apple Developer Forums

Hi, we are seeing the same problem with Xcode betas 14E5197f, 14E5207e and 14E5215g. When using 14C18 there is no error. As part of our diagnosis, we went through the laborious task of creating each 'missing' folder in ../../../IntermediateBuildFilesPath,

developer.apple.com

 

https://github.com/CocoaPods/CocoaPods/issues/11861

 

XCode 14.3 archivation issue · Issue #11861 · CocoaPods/CocoaPods

I've read and understood the CONTRIBUTING guidelines and have done my best effort to follow. Report What did you do? pod cache clean --all pod update XCode->Product-> Archive What did you expect to...

github.com

 

 

 

728x90
반응형

댓글