Product type of static library target in Xcodegen?

774 Views Asked by At

I've created a file called project.yml, to generate my Swift .xcodeproj with Xcodegen. For example:

name: MyProject
targets:
  MyAppTarget:
    type: application
    sources:
      - MyAppTarget
    ...
  MyLibrary
    type: static library // identify the project type of the target here
    sources:
      - MyLibrary
    ...

Could you please help me?

1

There are 1 best solutions below

0
On BEST ANSWER

Trying using library.static for identifing a target of static lib. By the way, You can find anything at XcodeGen-ProjectSpec