简体   繁体   English

适用于iOS和Mac项目的构建工具

[英]Build tool for iOS and Mac projects

I don't like to depend on the IDE (Xcode) to build my projects, I want an IDE-Free build tool for iOS and Mac projects. 我不喜欢依靠IDE(Xcode)来构建我的项目,我想要一个适用于iOS和Mac项目的IDE-Free构建工具。
In Java we could use Ant, Maven, Gradle, Raven... 在Java中我们可以使用Ant,Maven,Gradle,Raven ......

We open-sourced our XCode Maven plug-in some weeks ago. 几周前我们开源了我们的XCode Maven插件。 At SAP we use it to build all our iOS apps and libraries centrally with Maven and manage dependencies in a product standard compliant way. 在SAP,我们使用它来集中构建我们所有的iOS应用程序和库,并以符合产品标准的方式管理依赖项。

Some overview documentation and binaries on Maven central are still missing, but the sources and technical documentation are already available on Github. Maven Central上的一些概述文档和二进制文件仍然缺失,但Github上已经提供了源代码和技术文档。 If you have questions please write to our mailing list. 如果您有任何疑问,请写信给我们的邮件列表。 We will try to help you. 我们会尽力帮助您。

xcode-maven-plugin1 Xcode中,Maven的plugin1
xcode-maven-plugin2 Xcode中,Maven的plugin2

Kind regards, Alex 亲切的问候,Alex

We use successfully ant for building iOS projects. 我们成功使用ant来构建iOS项目。 Basically we need it for continues integration (we use Jenkins). 基本上我们需要它来继续集成(我们使用Jenkins)。 Most developers prefer using XCode IDE, but some of them sometimes (I would say rarely) use ant for quickly building projects from console after quick small change. 大多数开发人员更喜欢使用XCode IDE,但有些人(我会很少说)使用ant来快速进行小的更改后从控制台快速构建项目。

Basically you need to call xcodebuild using ant 基本上你需要使用ant调用xcodebuild task. 任务。 But if you need more complex examples google for jenkins (or hudson) + xcode (or iOS, iPhone). 但是如果你需要更复杂的例子google for jenkins(或hudson)+ xcode(或iOS,iPhone)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM