Skip to content

How to make a target extension via xcodegen ? #1431

@Simimi-dot

Description

@Simimi-dot

My question is as follows. How can I create an extension target through xcodegen?
I need to create a Notification Service Extension target, but I don't quite understand how this can be done correctly through xcodegen, since when I create this target through Xcode itself, a folder with the NotificationService.swift and info.plist files for this target is automatically created. And this does not happen through xcodegen.
Since there is no such target yet, I cannot specify a source for it.
I can separately create a folder in which info.plist and entitelements were created using xcodegen, but the NotificationService.swift file will not be created.
Does anyone know how to do this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions