Skip to content

Upgrading to Xcode 14.3 will not build when plugin transitive dependencies have a low deployment target: File not found: XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a #124340

@jmagman

Description

@jmagman

Steps to reproduce

  1. 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
  1. Add a plugin with a lower-than-9 iOS dependency target (I used flutter_appauth) as a pubspec dependency.
$ flutter build ios

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 macOS this is libarclite_macosx.a

Customers are reporting updating the pod's IPHONEOS_DEPLOYMENT_TARGET version fixes it. #123890 (comment)

Metadata

Metadata

Assignees

Labels

P0Critical issues such as a build break or regressionplatform-iosiOS applications specificallyplatform-macBuilding on or for macOS specificallyt: xcode"xcodebuild" on iOS and general Xcode project managementtoolAffects the "flutter" command-line tool. See also t: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions