I'm in the process of setting up my flutter ios app for a cloud build (AppCenter) and I am running into an issue with my xcode config(?).
When building locally, I used to set a linker flag in Xcode to prevent common “double-quoted include” errors. (A known cocoapod issue, apparently...) Ticking the flag in the XCode GUI set CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO in ./ios/Runner.xcodeproj/project.pbxproj and ios/Pods/Pods.xcodeproj/project.pbxproj and allowed the build to finish with lots of warnings but no errors.
I committed both pbxproject files (and even the entire ios/Pods dir) and thought this would save my flag settings, but I had to realize that a build from a fresh checkout regenerates the Pods/ config with a default set to true.
How can I coax the flutter ios config into remembering that flag setting across clean builds?
P.S.: I should mention that I am running a slightly older version of xcode (11.3.1)
I found this thread as I was getting warnings when running pod install. If you are having the same issue, here is the fix.

If you search for CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER in your xCode build settings and select Other then type $(inherited) it will fix pod warnings.

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With