yonaskolb / yonaskolb/XcodeGen

Add intent definition to multiple targets

Open
#1,367 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
8.8k
Forks
908
Avg merge
17d 14h
Merged PRs (30d)
2

Description

I have a Home Screen widget that uses intents to make it configurable. But in order to allow these intents to do their job it needs to be added to both the widget target as the main application's target.

Is there a way to do this with xcodegen? Or is this functionality missing to add a file manually to the compile sources build phase of another target.

Keep up the good work!

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

No file or test is named. Start by tracing how XcodeGen represents targets and assigns files to their compile sources build phases, then compare the widget and application target behavior described here. Done means the same intent definition can be included in both targets and the generated Xcode project builds correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.