如果您正在使用Pods,可以尝试执行一项操作
Step 1 - Make a copy of your project
在这里尝试2个不同的事情
Step 2 - Pod update
Step 2 - Run pod deintegrate
Step 3 - pod install
只需尝试,看看是否有帮助。
如果您因为将Xcode更新到13.3版本而出现此错误,并且是由于file_picker(Flutter)引起的,请访问https://github.com/miguelpruivo/flutter_file_picker/issues/999查看解决方案。
我在我的iOS项目的podfile中,在'target' 'Runner' do下添加了以下内容:
target 'Runner' do
use_frameworks!
use_modular_headers!
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
pod 'DKImagePickerController/PhotoGallery', :git => 'https://github.com/miguelpruivo/DKImagePickerController.git'
end
现在我可以成功地存档,具体取决于作者何时在pub.dev上推送下一个更新。