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

半城伤御伤魂 提交于 2019-12-03 02:04:16

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"

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!