I am currently working on a Flutter project and keep running into build errors in XCode Cloud.
When running locally on an iOS simulator the build succeeds, but when after I commit to GitHub, it builds in XCode Cloud and I get these errors:
Unable to load contents of file list: '/Target Support Files/Pods-Runner/Pods-Runner-resources-Release-input-files.xcfilelist'
could not find included file 'Pods/Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig' in search paths
Release.xcconfig:4
could not find included file 'Generated.xcconfig' in search paths
Release.xcconfig:2
could not find included file 'Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig' in search paths
Release.xcconfig:3
Unable to load contents of file list: '/Target Support Files/Pods-Runner/Pods-Runner-frameworks-Release-input-files.xcfilelist'
Unable to load contents of file list: '/Target Support Files/Pods-Runner/Pods-Runner-resources-Release-output-files.xcfilelist'
Unable to load contents of file list: '/Target Support Files/Pods-Runner/Pods-Runner-frameworks-Release-output-files.xcfilelist'
I tried adding to my target that would install dependencies from cocoapods, but it changed nothing.
I then updated the script to to no avail.
Finally I tried the instructions at https://docs.flutter.dev/deployment/cd#xcode-cloud under post-clone scripts but that did nothing.
Each build had the same 7 errors