简体   繁体   中英

Product type of static library target in Xcodegen?

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?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM