In Xcode 12 default options, CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER
is set to Yes. This causes CocoaPods generated umbrella header files to fail with errors like:
Double-quoted include "FBLPromise+All.h" in framework header, expected angle-bracketed instead
Reported and additional discussion at https://github.com/firebase/firebase-ios-sdk/issues/5987
Reproducible project:
testProject.zip
Should we set CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER
to NO
for all Pods build settings?
Yes, that should be safer and easier than generating different content for the umbrellas.
Is Xcode 12 now expecting umbrella headers to use <>
imports?
Yes.
Interesting - makes sense I guess. Apple does that in their own frameworks
I just updated to Xcode 12 and am experiencing this issue. How should I resolve it? After the update, the project can initially be successfully built, with a lot of The iOS Simulator deployment target is set to 8.0
warnings. So I updated all of their targets to 12.0. Then this quoted imports error appeared.
I did the following in order, but still get the error.
gem install cocopoads,
rm -rf ~/Library/Developer/Xcode/DerivedData/
pod deintegrate
pod update
I just updated to Xcode 12 and am experiencing this issue. How should I resolve it? After the update, the project can initially be successfully built, with a lot of
The iOS Simulator deployment target is set to 8.0
warnings. So I updated all of their targets to 12.0. Then this quoted imports error appeared.I did the following in order, but still get the error.
gem install cocopoads,
rm -rf ~/Library/Developer/Xcode/DerivedData/
pod deintegrate
pod update
Just upgraded Xcode and am unable to run my flutter app on Ios now as well. Looking for a fix
@jackguo709 @swisscheesy Update to CocoaPods 1.10. More details and options at https://stackoverflow.com/a/63648164/556617
Thanks Paul
pod --version
1.10.1
but can't fixed this issue.
@libyasdf Make sure to run pod deintegrate
. See the stackoverflow link above.
@libyasdf Make sure to run
pod deintegrate
. See the stackoverflow link above.
problem solved
this time I used pod deintegrate
pod install
successes. (A few days ago, due to network reasons, there was a problem in this step. It's not true success before)
This project must run on true iPhone.
Actually, pod --version
under the project directory is 1.9.3. I don't know why it's 1.10.1 outside. But it didn't affect the final result.
I run pod repo-art add cocoa-remote https://....
to make a local repo, below the directory ~/.cocoapods/repos-art
. But when I pod install
, It's don't download using local resource —— it's cause the pod install
frequent failures.
Most helpful comment
@jackguo709 @swisscheesy Update to CocoaPods 1.10. More details and options at https://stackoverflow.com/a/63648164/556617