Skip to content

ci(device_info_plus): fix macOS/iOS example build with Swift Package Manager - #3985

Merged
vbuberen merged 1 commit into
mainfrom
fix/device_info_plus_spm_example
Sep 28, 2026
Merged

vbuberen merged 1 commit into
mainfrom
fix/device_info_plus_spm_example

Conversation

@vbuberen

Copy link
Copy Markdown
Collaborator

Description

The device_info_plus example app no longer has a Podfile after the move to Swift Package Manager, but its Xcode project(s) still contain the CocoaPods integration: [CP] Check Pods Manifest.lock / [CP] Embed Pods Frameworks build phases, Pods_Runner.framework links and Pods-*.xcconfig base configurations.

On CI (clean checkout, no Podfile) Flutter only adds SPM integration and never runs pod install, so the build fails with:

Unable to load contents of file list: '/Target Support Files/Pods-Runner/Pods-Runner-...-input-files.xcfilelist'

Locally it only works if an ignored Podfile/Pods/ from before the migration is still around.

This PR removes the CocoaPods integration from the example project(s) (the same cleanup as #3938 did for connectivity_plus) and commits the SPM integration and project migrations Flutter applies on build. Verified with a clean flutter build ios --simulator and flutter build macos without any Podfile.

Related Issues

Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I titled the PR using Conventional Commits.
  • I did not modify the CHANGELOG.md nor the plugin version in pubspec.yaml files.
  • All existing and new tests are passing.
  • The analyzer (flutter analyze) does not report any problems on my PR.

Breaking Change

  • Yes, this is a breaking change (please indicate that with a ! in the title as explained in Conventional Commits).
  • No, this is not a breaking change.

🤖 Generated with Claude Code

…Manager

Remove leftover CocoaPods integration from the example Xcode projects.
Without a Podfile, CI never runs pod install, so the [CP] build phases
fail on missing Pods-Runner xcfilelists.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vbuberen
vbuberen merged commit 9271753 into main Sep 28, 2026
20 of 21 checks passed
@vbuberen
vbuberen deleted the fix/device_info_plus_spm_example branch September 28, 2026 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant