Closed
Description
issue_link
Commit Hash
c60f20
Target
stable
pr_link
Impacted Users
App developers running latest Xcode building iOS or macOS apps with certain plugins, including some firebase plugins
Impact Description
When running latest Xcode (14.3) iOS and macOS apps will not build when using certain plugins that have dependencies with very low iOS target versions. This includes any apps that use firebase_auth.
Workaround
- Downgrade to Xcode 14.2
- Add a workaround to
ios/Podfile
andmacos/Podfile
that sets the pods to the same version the Flutter app is targeting. https://stackoverflow.com/questions/75574268/missing-file-libarclite-iphoneos-a-xcode-14-3
Risk
low
Test Coverage
yes
Validation Steps
- Check out 3.7.10 or be on master to pick up Upgrading to Xcode 14.3 breaks iOS app publishing: link_stat failed: No such file or directory #123890
$ flutter create test_create
$ cd test_create
- Add a plugin with a lower-than-9 iOS dependency target (I used
flutter_appauth
) as a pubspec dependency.
$ flutter build ios
On master this does not build:
Error (Xcode): File not found: /Users/m/Applications/Xcode-14-3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a
Error (Xcode): Linker command failed with exit code 1 (use -v to see invocation)
On this PR it does build.