skiptools / skiptools/skipstone

Using a local Skip build requires updating `Package.swift`

Open
#190 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug project
Dominant language
Swift
Stars
106
Forks
20
Avg merge
2d 3h
Merged PRs (30d)
9

Description

% cd /tmp
% skip init --transpiled-app --appid=some.app.id app-project AppName --no-build --git-repo
% cd app-project
% git commit -m "initial commit"
% cd ~/git/stonehack
% ls
skip			skipstone		stonehack.xcworkspace
% cd skipstone
% xcodebuild -workspace /tmp/app-project/Project.xcworkspace -scheme "AppName App" -destination "generic/platform=iOS Simulator" -skipPackagePluginValidation
Command line invocation:
    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace /tmp/app-project/Project.xcworkspace -scheme "AppName App" -destination "generic/platform=iOS Simulator" -skipPackagePluginValidation

Resolve Package Graph

Updating from https://source.skip.tools/skip-ui.git

Updating from https://source.skip.tools/skip.git

Resolve Package Graph

Updating from https://source.skip.tools/skip.git

Updating from https://source.skip.tools/skip-ui.git


Resolved source packages:
  app-project: (null)

2026-02-26 10:44:02.272 xcodebuild[30691:2372626] Writing error result bundle to /var/folders/1l/jbmc3w7947x9ljkj_260bmrc0000gn/T/ResultBundle_2026-26-02_10-44-0002.xcresult
xcodebuild: error: Could not resolve package dependencies:
  Failed to resolve dependencies Dependencies could not be resolved because root depends on 'skip' 1.7.2..<2.0.0.
'skip' >= 1.7.2 cannot be used because no versions of 'skip' match the requirement 1.7.3..<2.0.0 and package 'skip' is required using a stable-version but 'skip' depends on an unstable-version package 'skipstone'.

I was able to workaround this by modifying Package.swift in my project like this:

diff --git i/Package.swift w/Package.swift
index bdd4526..33bf955 100644
--- i/Package.swift
+++ w/Package.swift
@@ -10,7 +10,7 @@ let package = Package(
         .library(name: "AppName", type: .dynamic, targets: ["AppName"]),
     ],
     dependencies: [
-        .package(url: "https://source.skip.tools/skip.git", from: "1.7.2"),
+        .package(path: "/Users/dfabulich/git/stonehack/skip"),
         .package(url: "https://source.skip.tools/skip-ui.git", from: "1.0.0")
     ],
     targets: [

But I don't remember that being required when I've hacked on Skip in the past; it's certainly not documented in the README.

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 with the generated Package.swift from the skip init command and the repository README, then reproduce the xcodebuild package-resolution failure shown here. Determine whether local Skip builds need a documented Package.swift change; done means the README clearly explains the required workflow or the generated project builds without that manual edit.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
build-system
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.