iOS, Swift/Xcode, Xcode Error
Xcode 14.3 CocoaPods Error
EEYatHo
2023. 5. 2. 14:12
반응형
Error
Xcode 14.3 으로 업데이트 후, Archive시 아래 에러 발생
- 에러 이미지
- 에러 코드
Run custom shell script '[CP] Embed Pods Frameworks'
...
rsync error: some files could not be transferred (code 23) at
/AppleInternal/Library/BuildRoots/97f6331a-ba75-11ed-a4bc-863efbbaf80d/Library/Caches/
com.apple.xbs/Sources/rsync/rsync/main.c(996) [sender=2.6.9]
Command PhaseScriptExecution failed with a nonzero exit code
Solution
{App}/Pods/Target Support Files/Pods-{App}/Pods-{App}-frameworks.sh 파일에서,
source="$(readlink "${source}")"
위 코드를
source="$(readlink -f "${source}")"
이렇게 수정.
이후 pod install 할 필요없이, 바로 Archive 하면 됨.
이제 진짜 SPM 써야겠다,,
Reference
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