xcode builds but flutter build fails (flutter 3.29.1 & ios18.2)

I have a flutter project we’ve been building for a year without issue until last weekend. I believe I upgraded my ios sdk to 18.2 just prior but cannot seem to resolve. I can get XCode to build successfully but when I try to build using flutter build ios I keep getting errors associated with the XCode DerivedData folder.

I have run through various troubleshooting steps and even reinstalled both XCode and Flutter. If anyone else has come across this issue I would greatly appreciate some assistance!

Did you try deleting your derived data folder? That fixes Xcode problems surprisingly often.

Thank you for your response. I did a few times without success. I’ve also tried deleting and recreating the iOS flutter folder.

Can you provide any logs that would aid in troubleshooting?

I stumbled on the solution, which was to go into XCode and relocate the DerivedData location from default to another folder. Very strange but it worked!