skiptools / skiptools/skip

Delete xcworkspace `Package.resolved` when running `skip upgrade` in an app project

Open Beginner friendly
#673 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement project
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.