Skip to content

[Feature]: Add file to target #105

@ericklaus

Description

@ericklaus

Feature Description

Sometimes it is most natural to have a file shared between multiple targets. (For example, an iOS app and an extension might share a view or some other logic.) I’d like the LLM to direct this MCP server to configure the targets for a given file.

Currently, the LLM has to tell me to manually add the file to another target. It would be great if it could configure a file’s targets via the MCP.

Use Cases

  • When adding code that will be used in an iOS app and in a Share Extension for that app, the file containing the code needs to be added to both targets.

Example Interactions

  • "Add MyFile.swift to the share extension target"
  • "Refactor the views in the main app and in the share extension so they share as much code as possible." (This would likely lead to logic being centralized in the views in the main app, the files containing those views to be added to the share extension target, and the now-duplicate views in the share extension to be deleted.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions