尝试在最新的 Xcode 和 iOS 17 更新后运行 flutter 应用程序并收到以下错误“DT_TOOLCHAIN_DIR 无法用于评估 LIBRARY_SEARCH_PATHS,请改用 TOOLCHAIN_DIR”
# Uncomment this line to define a global platform for your project
# platform :ios, '11.0'
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
project 'Runner', {
'Debug' => :debug,
'Profile' => :release,
'Release' => :release,
}
def flutter_root
generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
unless File.exist?(generated_xcode_build_settings_path)
raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is …Run Code Online (Sandbox Code Playgroud)