/LFAutoTarget

A plugin for Xcode which can help you select target automaticly when you add a new file. 一个XCode插件,用于自动勾选target。

Primary LanguageObjective-C

LFAutoTarget

Screenshot

Intruduction

LFAutoTarget is a plugin for Xcode which can help you select target automaticly when you add a new file. You can setup any target on the setting view.

How to use

Alcatraz

This plugin can be installed using Alcatraz. Search for LFAutoTarget in Alcatraz.

manually

Download this project-->build-->restart Xcode-->Menu-->Window-->LFAutoTarget-->edit in the TextView-->confirm

介绍

LFAutoTarget 是一个能帮助你在添加新文件时自动勾选target的Xcode插件。你可以在设置页面中设置任意的target。

怎样使用

Alcatraz安装

可以使用Alcatraz安装本插件。在Alcatraz中搜索LFAutoTarget即可。

手动安装

下载工程-->编译-->重新启动Xcode-->菜单-->Window-->LFAutoTarget-->编辑文本框-->confirm

做这个插件的背景

项目中有多个target,且一个新文件需要勾选多个target。我们一般会在每次添加新文件时,手动勾选上所需的target。但如果忘记勾选其中的某些target,就会导致在编译时候报错。要想编译通过,就得去文件里一个个找没勾target的重新勾上,非常耗时。 如果能够一次设置,后续自动勾选,那么上述问题就不会再困扰我们。