Skip to content

fix: Update path to dsym upload script in projects with SPM - #456

Open
TatsuUkraine wants to merge 2 commits into
invertase:mainfrom
TatsuUkraine:fix/spm-dsym-upload
Open

fix: Update path to dsym upload script in projects with SPM#456
TatsuUkraine wants to merge 2 commits into
invertase:mainfrom
TatsuUkraine:fix/spm-dsym-upload

Conversation

@TatsuUkraine

@TatsuUkraine TatsuUkraine commented Aug 4, 2026

Copy link
Copy Markdown

Description

Fixes #443

IDEPackageOnlyUseVersionsFromResolvedFile to YES to enforce Package.resolved deps resolution following happens:

  • xcodebuild skips its own independent package resolution
  • It only uses what's already provided (the -clonedSourcePackagesDirPath)
  • It does not populate DerivedData/Runner-xxx/SourcePackages/

As a result build fails.

Changes in this PR will update the generated script to search for run script in <project>/build/ios/SourcePackages, which will be populated regardless of Xcode's IDEPackageOnlyUseVersionsFromResolvedFile setting.

Type of Change

  • feat -- New feature (non-breaking change which adds functionality)
  • 🛠️ fix -- Bug fix (non-breaking change which fixes an issue)
  • ! -- Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 refactor -- Code refactor
  • ci -- Build configuration change
  • 📝 docs -- Documentation
  • 🗑️ chore -- Chore

@TatsuUkraine TatsuUkraine changed the title Fix/spm dsym upload Update path to dsym upload script in projects with SPM Aug 4, 2026
@TatsuUkraine TatsuUkraine changed the title Update path to dsym upload script in projects with SPM fix: Update path to dsym upload script in projects with SPM Aug 4, 2026
@TatsuUkraine

TatsuUkraine commented Aug 4, 2026

Copy link
Copy Markdown
Author

@russellwheatley I tried to follow contribution guide to use current repo instead of the fork, but I have only Read permissions so I can push any code here. Let me know if I need to change anything

@github-actions github-actions Bot added the Needs Attention OP created or responded to issue and it needs attention. label Aug 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs Attention OP created or responded to issue and it needs attention.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug]: upload symbols fails with Flutter 3.44 because the SourcePackages have moved

1 participant