Background
We added use_modular_headers! to our Podfiles as we originally planned to phase out use_frameworks! (see #42204). However, our plans have now changed and we are instead phasing out CocoaPods entirely in favor of Swift Package Manager.
CocoaPods's use_frameworks! and use_modular_headers! are two different overlapping options that should not be used together. This change removes the use_modular_headers! from the macOS Podfile and the iOS Swift Podfile (the iOS Objective-C template was recently deprecated #155867).
Work
Remove use_modular_headers! from all Swift Podfiles.
Background
We added
use_modular_headers!to ourPodfiles as we originally planned to phase outuse_frameworks!(see #42204). However, our plans have now changed and we are instead phasing out CocoaPods entirely in favor of Swift Package Manager.CocoaPods's
use_frameworks!anduse_modular_headers!are two different overlapping options that should not be used together. This change removes theuse_modular_headers!from the macOSPodfileand the iOS SwiftPodfile(the iOS Objective-C template was recently deprecated #155867).Work
Remove
use_modular_headers!from all SwiftPodfiles.