How to create or define a new target in a custom Xcode project template

后端 未结 1 488
心在旅途
心在旅途 2021-02-05 14:49

TL;DR: What XML snippets do I add to my TemplateInfo.plist files, to create a second compiler target when creating a new Xcode project?

While w

1条回答
  •  感情败类
    2021-02-05 15:24

    If I understand your question correctly...

    To duplicate the Build Target automatically without manually creating a new one and setting it up select the one you want to duplicate and press CMD+D


    (Instructions on how to do the same things but with (the more likely) build schemes (for future users who wonder to this question) are below:

    In xCode click Product (top bar... across from File, Edit, View, etc.) and then at the bottom of the drop-down menu click "New Scheme".

    To duplicate your scheme (like you suggested) click "Edit Scheme" instead of "New Scheme" then click "Duplicate Scheme"

    0 讨论(0)
提交回复
热议问题