有没有办法在 Xcode 中列出所有文件及其目标?

编程入门 行业动态 更新时间:2024-10-12 01:26:56
本文介绍了有没有办法在 Xcode 中列出所有文件及其目标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送ChatGPT账号..

我参与了多个开发人员的项目.该项目包含多个目标.很多时候,文件被提交到 Xcode 项目存储库,其中一些目标不包括在内(粗心的程序员).因此,每当我执行svn up"并运行该应用程序时,我的程序就会崩溃.然后我必须查看所有这些文件,看看哪个文件与丢失的目标一起提交,然后添加目标,并将文件重新提交到存储库(对于那个粗心的程序员)

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?

我查看了 将文件添加到 XCode 项目已经有一个脚本供参考.

推荐答案

我在另一个线程上的回答向您展示了如何查看不属于目标的所有文件:

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

https://stackoverflow/a/12867723/591586

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

更多推荐

[db:关键词]

本文发布于:2023-04-17 14:59:58,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/915820.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:没有办法   目标   文件   Xcode

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!