jpsim / jpsim/SourceKitten

Any idea why source kit is throwing this error - ASTInvocation problem ?

Open
#697 12 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

sourcekit: [1:getCursorInfo: 0.0000] failed to create an ASTInvocation: '/home/ubuntu/dev/swift/SourceKittenUtil/temp/AnishaApril26/AnishaApril26-master/AnishaProduct/ContentView.swift' is not part of the input files

Have seen this on a number of files, and the files exist and appear to be valid structs, or class files.

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 reproducing the getCursorInfo failure with the reported ContentView.swift path and the message that it is not part of the input files. Trace how SourceKitten handles the input-file list around ASTInvocation creation; done means identifying the cause and providing a verified fix or a precise reproduction explanation.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
devtools
Issue type
Bug
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.