yonaskolb / yonaskolb/XcodeGen

Question: Embed a Bundle containing macOS code into a Catalyst framework target

Open
#1,157 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

Previously, before using XcodeGen, I have two targets has this kind of relationship:

image

during migration, I defined it as

  AppKitCatalyst:
    type: framework
    platform: iOS
    sources:
      - AppKitCatalyst
    configFiles:
      Debug: xcconfigs/AppKitCatalyst-Debug.xcconfig
      Release: xcconfigs/AppKitCatalyst-Release.xcconfig
    dependencies:
      - target: LoggerKit
      - target: AppKitBridge
        platformFilter: macOS
        embed: true
        codeSign: true
        copyFiles:
          - destination: plugins

However, it generates:

image

Anything I can do to fix it?

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 AppKitCatalyst target and its AppKitBridge dependency from the YAML configuration, including the macOS platform filter, embedding, code signing, and plugins destination. Compare the generated project with the earlier target relationship; done means the Catalyst framework embeds the macOS bundle in the intended plugins location with the requested signing behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift, yaml
Domain
build-system
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.