yonaskolb / XcodeGen

A Swift command line tool for generating your Xcode project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

imWildCat opened this issue · comments

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?