Open1

Xcode14.3にアップデートしたらArchiveできなくなったけど、1分で解決

FBD TechFBD Tech

たぶんこんなエラーが出てると思う

mkdir -p /Users/****/Library/Developer/Xcode/DerivedData/TDSozluk-fyaevjsikqxslsfftcfoztnlvofn/Build/Intermediates.noindex/ArchiveIntermediates/TDSozluk/BuildProductsPath/Release-iphoneos/Cevirdic.biz.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/GoogleUtilities.framework" "/Users/***/Library/Developer/Xcode/DerivedData/TDSozluk-fyaevjsikqxslsfftcfoztnlvofn/Build/Intermediates.noindex/ArchiveIntermediates/TDSozluk/InstallationBuildProductsLocation/Applications/Cevirdic.biz.app/Frameworks"

building file list ... rsync: link_stat "/Users/****/Documents/xcode tutorials/TDSozluk/../../../IntermediateBuildFilesPath/UninstalledProducts/iphoneos/GoogleUtilities.framework" failed: No such file or directory (2)

done

sent 29 bytes received 20 bytes 98.00 bytes/sec

total size is 0 speedup is 0.00

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)

ios\Pods\Target Support Files\Pods-Runner\Pods-Runner-frameworks.shの中の、

if [ -L "${source}" ]; then
echo "Symlinked..."
source="$(readlink "${source}")"

if [ -L "${source}" ]; then
echo "Symlinked..."
source="$(readlink -f "${source}")"

これだけ!
-fを追加するだけ!

ちなみに、キャッシュ消したり、基本的なこと色々やっても無駄なのでとりあえずこれが現状の最善策っぽいです。
Xcodeのアップデート怖かったけど、意外とつまずいたのここくらいでよかった...。