我正在尝试制作我的项目的存档,但它失败了,出现以下错误:
sync --delete -av --filter P .*.?????? --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "../../../IntermediateBuildFilesPath/UninstalledProducts/iphoneos/Alamofire.framework" "/[AppPath]/Build/Intermediates.noindex/ArchiveIntermediates/QA/InstallationBuildProductsLocation/Applications/[APP NAME].app/Frameworks"
building file list ... rsync: link_stat "/[APP_PATH]../../../IntermediateBuildFilesPath/UninstalledProducts/iphoneos/Alamofire.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
- MacBook: M1 MacBook Pro
- MacOS: Ventura 13.2.1
- Xcode版本:14.3
- Pods版本:1.12.0
以下是我的PODFILE:
# Uncomment the next line to define a global platform for your project
platform :ios, '13.0'
target '[APP NAME]' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
pod 'Moya', '~> 14.0.0'
pod 'Moya/RxSwift',' ~> 14.0.0'
pod 'Eureka'
pod 'SwiftSignalRClient'
pod 'Kingfisher'
#pod 'FMPhotoPicker', '~> 1.3.0'
pod 'iOSDropDown'
#Material TextFields
pod 'MaterialComponents/TextControls+OutlinedTextAreas'
pod 'MaterialComponents/TextControls+OutlinedTextFields'
pod 'Blueprints'
pod 'PhoneNumberKit'
pod 'Firebase/Analytics'
pod 'Firebase/Crashlytics'
pod 'FirebaseMessaging'
pod 'FittedSheets'
post_install do |installer|
installer.generated_projects.each do |project|
project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
end
end
end
end
end
我也注意到,如果我通过软件包管理器添加依赖项,我的存档会成功,但是如果我使用CocoaPods,则应用程序存档会失败。