有没有办法来列出X code中所有文件和他们的目标? [英] Is there a way to list all files and their targets in Xcode?

查看:181
本文介绍了有没有办法来列出X code中所有文件和他们的目标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我与多个开发项目的一部分。该项目包含多个目标。很多时候,文件将致力于与某些目标不包料(粗心的程序员),在X code项目库。所以,每当我做一个'svn的了,并运行应用程序,我的程序崩溃。然后,我必须通过所有这些文件看看,看看哪一个是与失踪目标承诺,再加入目标,并再次提交文件到存储库(对于粗心的程序员)

I am part of a project with multiple developers. The project contains multiple targets. VERY often, files are committed to the Xcode project repository with some targets not-included (careless programmers). So whenever i do a 'svn up', and run the app, my program crashes. I then have to look through all those files and see which one was committed with the missing target, then add the target, and recommit the file to the repository (for that careless programmer)

是否有某种方式通过脚本可以自动所有.M添加到一个特定的目标?
要么
列出所有缺少特定目标的文件?

Is there some way through a script to either automatically add all .m to a particular target? OR list all the files that are missing for a particular target?

我已经看过文件添加到从脚本的X code项目的参考了。

推荐答案

我对这个其他线程的答案告诉您如何看这不是一个目标的所有文件:

My answer on this other thread shows you how to see all files that are not part of a target:

http://stackoverflow.com/a/12867723/591586

这篇关于有没有办法来列出X code中所有文件和他们的目标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆