Delete xcworkspace `Package.resolved` when running `skip upgrade` in an app project
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 3.2k
- Forks
- 106
- Avg merge
- 6d 13h
- Merged PRs (30d)
- 1
Description
skip upgrade runs swift package update, which updates ./Package.resolved, but app projects contain a Project.xcworkspace. The Xcode workspace doesn't use ./Package.resolved; it uses ./Project.xcworkspace/xcshareddata/swiftpm/Package.resolved.
skip upgrade should delete that file when running in an app project, ensuring that the next Xcode build will generate it fresh, upgrading to the latest version of skip dependencies.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the skip upgrade command and inspect how it handles swift package update for app projects. Verify that Project.xcworkspace/xcshareddata/swiftpm/Package.resolved is removed, while ./Package.resolved remains handled as before, and confirm that the next Xcode build recreates the workspace file with updated dependencies.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- build-system, mobile
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 72/100