如何创建在iPhone SDK中通过Ant脚本构建文件? [英] How can I create a build file through Ant script in iPhone SDK?

查看:366
本文介绍了如何创建在iPhone SDK中通过Ant脚本构建文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我怎样才能创建iPhone SDK中使用Ant脚本生成文件?如果可能的话,请告诉我怎么了。

How can I create build files using ANT Script in iPhone SDK? If it is possible, please tell me how.

推荐答案

您可以使用 EXEC 任务来调用出来<一个href=\"http://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/x$c$cbuild.1.html\"相对=nofollow> X codebuild 。这将工作,但不给你在构建的太多的控制权。你仍然必须有它的工作一个X code项目。除非你有很多非-X code的建立步骤来执行它不给你买了多少只调用 X codebuild 从shell脚本。

You can use the exec task to call out to xcodebuild. This will work, but doesn't give you that much control over the build. You still have to have an Xcode project for it to work. Unless you have a lot of non-Xcode build steps to perform it doesn't buy you much over just invoking xcodebuild from a shell script.

这篇关于如何创建在iPhone SDK中通过Ant脚本构建文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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