flutter/packages/flutter_tools/templates/cocoapods
Loïc Sharma d939b84350
Remove use_modular_headers! from Swift Podfiles (#156257)
We added `use_modular_headers!` to our `Podfile`s as we originally planned to phase out `use_frameworks!` (see https://github.com/flutter/flutter/pull/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 https://github.com/flutter/flutter/pull/155867).

This change only affects _new_ Flutter apps. This change does not include an automatic migration as that could break existing apps. Instead, users are encouraged to migrate from CocoaPods to Swift Package Manager.

https://github.com/flutter/flutter/issues/156259
2024-11-04 20:32:34 +00:00
..
Podfile-ios-objc Set template and migrate apps to iOS 12 minimum (#140823) 2024-01-03 00:47:40 +00:00
Podfile-ios-swift Remove use_modular_headers! from Swift Podfiles (#156257) 2024-11-04 20:32:34 +00:00
Podfile-macos Remove use_modular_headers! from Swift Podfiles (#156257) 2024-11-04 20:32:34 +00:00