我有我的Flutter应用程序,我能够构建它并在我的iPhone上运行,但当我试图将其存档上传到试飞时,我得到了以下错误:
PhaseScriptExecution [CP]\ Embed\ Pods\ Frameworks /Users/alingavriliuc/Library/Developer/Xcode/DerivedData/Runner-cujzpewjolforngnoxyherjuheln/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Runner.build/Release-iphoneos/Runner.build/Script-AF6B532C04771866E7662848.sh (in target 'Runner' from project 'Runner')
cd /Users/alingavriliuc/Documents/mdb-flutter-app/frontend/ios
/bin/sh -c /Users/alingavriliuc/Library/Developer/Xcode/DerivedData/Runner-cujzpewjolforngnoxyherjuheln/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Runner.build/Release-iphoneos/Runner.build/Script-AF6B532C04771866E7662848.sh
mkdir -p /Users/alingavriliuc/Library/Developer/Xcode/DerivedData/Runner-cujzpewjolforngnoxyherjuheln/Build/Intermediates.noindex/ArchiveIntermediates/Runner/BuildProductsPath/Release-iphoneos/Runner.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/openssl_grpc.framework" "/Users/alingavriliuc/Library/Developer/Xcode/DerivedData/Runner-cujzpewjolforngnoxyherjuheln/Build/Intermediates.noindex/ArchiveIntermediates/Runner/InstallationBuildProductsLocation/Applications/Runner.app/Frameworks"
building file list ... rsync: link_stat "/Users/alingavriliuc/Documents/mdb-flutter-app/frontend/ios/../../../IntermediateBuildFilesPath/UninstalledProducts/iphoneos/openssl_grpc.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) [sender=2.6.9]
Command PhaseScriptExecution failed with a nonzero exit code
显示最近的问题
rsync错误:一些文件无法在/AppleInternal/Library/BuildRoots/97 f6331 a-ba 75 - 11 ed-a4 bc-863 efbbaf 80 d/Library/Caches/com.apple.xbs/Sources/rsync/rsync/main.c(996)[sender=2.6.9]传输(代码23)
enter image description here
Flutter清洁
Pod install --repo-update
豆荚解体
1条答案
按热度按时间8hhllhi21#
试试这个解决方案(它适用于我):
Cocoapods现在有一个问题,因为Xcode 14.3现在在框架的符号链接中使用了相对路径。
要么等待Cocoapods1.12.1版本的发布,要么在您的www.example.com文件中进行此简单更改Pods-Runner-frameworks.sh
您可以在路径ios\Pods\Target Support Files\Pods-Runner\Pods-Runner-frameworks.sh中找到它
替换:
其中:
**注意添加了-f。
然后你就可以存档并上传你的应用程序。