jpsim / jpsim/SourceKitten

How do I include Sourcekitten in Command Line tool

Open
#519 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
Swift
Stars
2.4k
Forks
237
PR merge metrics
No merged PRs in 30d

Description

I am trying to integrate Sourcekitten to a Command Line Tool in Xcode 9. I am getting, Library not found error.

Checked with a couple of links online, I came to know that there is a difference in how frameworks are included in app bundles and tool bundles.

Is there a way in Source Kitten workspace, that we can generate a framework that's compatible with command line tools?

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 by reviewing the SourceKitten workspace and its framework build configuration, then compare how Xcode 9 packages frameworks for application bundles versus command-line tool bundles. Confirm the expected integration path and whether the workspace can produce a compatible framework; done means a command-line tool can include SourceKitten without a library-not-found error.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
build-system, cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.