只能怪自已手賤,愛在第一時間升級新系統及開發工具版本的下場….踩雷踩不停啊
Error (Xcode): DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS, use TOOLCHAIN_DIR instead

解bug,在podfile下,post_install do |installer|內容更改成以下即可。
post_install do |installer|
installer.generated_projects.each do |project|
project.targets.each do |target|
target.build_configurations.each do |config|
xcconfig_path = config.base_configuration_reference.real_path
xcconfig = File.read(xcconfig_path)
xcconfig_mod = xcconfig.gsub(/DT_TOOLCHAIN_DIR/, “TOOLCHAIN_DIR”)
File.open(xcconfig_path, “w”) { |file| file << xcconfig_mod } end end end installer.pods_project.targets.each do |target| flutter_additional_ios_build_settings(target) end end