Skip to content

[CP] Add readlink -f flag to CocoaPods script to workaround Xcode 14.3 issue #124081

@jmagman

Description

@jmagman

issue_link

#123890

Commit Hash

d4934fb

Target

stable

pr_link

#124079

Impacted Users

Users when publishing iOS and macOS Flutter apps

Impact Description

Users will be able to flutter run and flutter build their iOS and macOS apps, but will not be able to archive their app, which is necessary for publication to the App Store. The archive errors out.

Workaround

  1. Downgrade from Xcode 14.3 to Xcode 14.2.
    or
  2. Until CocoaPods publishes the fix in 1.12.1, install the master version of the cocoapods gem: https://stackoverflow.com/questions/2823492/install-gem-from-github-branch

Risk

medium

Test Coverage

yes

Validation Steps

  1. Install Xcode 14.3
  2. On current Flutter stable run flutter create test_create && cd test_create

iOS:

  1. Run flutter build ipa. See error.

macOS:

  1. Run flutter build macos --config-only
  2. open macos/Runner.xcworkspace
  3. Product > Archive. See error.

On this PR archiving will succeed.

Metadata

Metadata

Assignees

Labels

cp: approvedApproved cherry-pick requestcp: merge-to-stableCherry-picks that should be merged to stablecp: mergedCherry-pick has been merged to the release branch.cp: reviewCherry-picks in the review queue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions