什么 Xcode“构建规则"做? [英] What Xcode "Build Rules" does?

查看:24
本文介绍了什么 Xcode“构建规则"做?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 Xcode 的新手.从 Xcode 中的Targets"中,我可以看到有一个名为Build Rules"的选项卡.

I am new in Xcode. From the "Targets" in Xcode, I could see that there is a Tab called "Build Rules".

我想知道这个标签有什么作用?

I wonder what is this tab does?

谢谢

推荐答案

据我所知,在构建规则"选项卡下,您可以在编译文件时自动执行您希望编译器执行的任何行为.Xcode 在编译时有标准规则,您可以使用 Build Rules 为其添加规则.

To my understanding under the Tab 'Build rules' you can automate any behaviour you would like the compiler to do when compiling a file. Xcode has standard rules when compiling, with Build Rules you can add a rule to that.

就我个人而言,我对 Xcode 也很陌生,也不知道构建规则.我发现 this 信息帮助我更好地理解它,也许就是对你有任何帮助.如果任何对 Xcode 有更多经验的人有更好的答案,请纠正我,因为我也在学习 Xcode.

Personally I am quite new to Xcode as well and didn't know about build rules too. I found this information that helped me understand it better, maybe that is any help to you. If anyone with more experience with Xcode has a better answer, please correct me as I'm still learning Xcode too.

这篇关于什么 Xcode“构建规则"做?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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