Xcode 14.3 Archive 失败

570 阅读1分钟

到底是谁的问题说不清 咱一时也说不清

报错信息

building file list ... rsync: link_stat "/Users/xxx/.../AFNetworking.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/9e200cfa-7d96-11ed-886f-a23c4f261b56/Library/Caches/com.apple.xbs/Sources/rsync/rsync/main.c(996) [sender=2.6.9]
Command PhaseScriptExecution failed with a nonzero exit code

解决:

方案1

假如电脑上还有Xcode 14.2,则把 Command Line Tools中改为Xcode 14.2编译,如下图:

image.png

方案二

如果使用 Xcode Cloud有问题,可以修改Xcode Version为Xcode 14.2, 如下图:

image.png

方案三

假如电脑上只有一个最新的Xcode 14.3 全局搜索

source="$(readlink "${source}")"

替换为:

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

每日长相思

image.png