ios 从xCode 14.2升级到14.3 PhaseScriptExecution失败,退出代码为非零

mkh04yzy  于 2023-03-24  发布在  iOS
关注(0)|答案(1)|浏览(395)

我已经从xcode 14.2升级到xcode 14.3 beta,现在我无法再为任何iOS设备(arm 64)存档,并出现以下错误:

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)

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

你知道为什么它可以在xCode 14.2上正常工作,而不能在xCode 14.3测试版上工作吗?
我尝试删除[CP] Embed Pods Frameworks脚本,但它重新创建了它并得到了同样的问题。我尝试在模拟器中构建和调试,它工作正常。我尝试删除“EXCLUDED_ARCHS[sdk=iphonesimulator*]”= arm 64;pbxproj文件中

h79rfbju

h79rfbju1#

如果你使用Xcode或Xcode Cloud,只需降级到14.2。
Xcode:change Command line tool
对于Xcode Cloud:change the environment

相关问题