当我使用product>
我使用flutter进行开发,并且运行过flutter ios build -release。
然后我去xcode运行product>存档,我得到这个错误
Showing All Issues
Multiple commands produce '/Users/yomate/Library/Developer/Xcode/DerivedData/Runner-ddhhkruxpbzezodlfgvmogmaieov/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/GoogleUtilities.framework':
1) Target 'GoogleUtilities-00567490' has create directory command with output '/Users/yomate/Library/Developer/Xcode/DerivedData/Runner-ddhhkruxpbzezodlfgvmogmaieov/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/GoogleUtilities.framework'
2) Target 'GoogleUtilities-54e75ca4' has create directory command with output '/Users/yomate/Library/Developer/Xcode/DerivedData/Runner-ddhhkruxpbzezodlfgvmogmaieov/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/GoogleUtilities.framework'
哪里有问题?2天前我已经成功了,但是我现在需要更新版本,它得到了错误
尝试添加到pod
target 'Runner' do
use_frameworks!
use_modular_headers!
pod 'GoogleUtilities', '7.7.0'
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
end
post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
end
end
target 'ImageNotification' do
use_frameworks!
pod 'Firebase/Messaging'
pod 'GoogleUtilities', '7.7.0'
end