yonaskolb / yonaskolb/XcodeGen

is it possible to set different Configs for one `Extension` target when adding as dependency to different `Application` targets ?

Open
#1,479 0 comments 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

For projects with several application targets and extension targets,
we add extension target as dependencies to application target,
but we may want extension target(eg Share Extension)use different Configs(eg 'PRODUCT_BUNDLE_IDENTIFIER')when embed in differernt application targets.
because application targets may have different identifiers,and "If an app contains an app extension, the app extension’s bundle identifier must be prefixed by the app’s bundle identifier."

How to accomplish this ? Any tips and examples are appreciated.

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 how XcodeGen represents application and extension targets and their Configs when an extension is added as a dependency. Check whether per-application values such as PRODUCT_BUNDLE_IDENTIFIER are currently supported. Done should be a documented solution with examples, or a clearly scoped change that enables different extension configurations for different application targets.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
build-system
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.