Short answer
Run flutter pub get in the project folder, which writes ios/Flutter/Generated.xcconfig, then cd ios && pod install if you use CocoaPods, and build again. On CI and Xcode Cloud, install Flutter and run flutter pub get (or flutter build ios --config-only) before the Xcode build step.
Rather not fix it yourself? App Fix Ticket fixes one reproducible bug at a fixed price, with an optional Diagnosis that is credited toward the fix.
Why the file is missing, and the fix
01
A fresh clone or flutter clean, then a build straight from Xcode
Xcode doesn’t run the flutter tool before reading the config files. Generate them first, then open the workspace.
flutter pub get cd ios && pod install && cd .. open ios/Runner.xcworkspace02
Xcode Cloud or CI builds without running Flutter first
“Leverage the post-clone custom build script that runs after Xcode Cloud clones your Git repository” Flutter, Continuous delivery with Flutter
The build machine has your code but not the generated files. Install Flutter, fetch packages and pods in a step that runs before Xcode; on Xcode Cloud that is ios/ci_scripts/ci_post_clone.sh. Commit it as executable (git add --chmod=+x ios/ci_scripts/ci_post_clone.sh), or Xcode Cloud skips it and the error stays.
#!/bin/sh set -e cd $CI_PRIMARY_REPOSITORY_PATH git clone https://github.com/flutter/flutter.git --depth 1 -b stable $HOME/flutter export PATH="$PATH:$HOME/flutter/bin" flutter precache --ios flutter pub get HOMEBREW_NO_AUTO_UPDATE=1 brew install cocoapods cd ios && pod install03
The xcconfig files were edited or moved
ios/Flutter/Debug.xcconfig and Release.xcconfig include Generated.xcconfig by a relative path. If they were changed or the Flutter folder moved, compare them with a fresh flutter create project and restore the include lines.
// ios/Flutter/Debug.xcconfig #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" #include "Generated.xcconfig"
Checked against the vendor’s docs on : Flutter: Continuous delivery with Flutter (Xcode Cloud post-clone script).
Rather hand it over?
Fixed scope, fixed price, paid upfront. The work happens in writing; no call needed.
- from $450App Fix TicketOne reproducible bug. The Fix costs $1,200. If you need a Diagnosis first, its $450 fee counts toward the Fix.See scope and start
- from $450AI-Built App RescueFor a whole-app review, the $450 Launch Check is credited toward the optional $1,950 Rescue Sprint for up to five critical or high findings.No issues worth fixing, no charge. If the Launch Check finds nothing rated medium or higher, Simon refunds the full $450. You keep the report either way. This applies to the first 10 Launch Checks bought after October 30, 2026.See scope and start
“Very responsive, attentive to fixing bugs, and completed the project as needed! Thank you!”
Related: Flutter “Flutter/Flutter.h file not found” · Flutter pod install failed · Xcode PhaseScriptExecution failed · flutter: command not found