gpt4 book ai didi

objective-c - 使用 Maven 构建 Cocoa 项目

转载 作者:太空狗 更新时间:2023-10-30 03:38:27 24 4
gpt4 key购买 nike

我有一个 Cocoa 项目,我想用 Maven 构建它。是否有用于构建 objective-c 代码的 Maven 插件?

最佳答案

我已经使用 exec 插件运行命令行 cocoa,效果很好。

    <plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.1</version>
<executions>
<execution>
<phase>${cocoa.phase}</phase>
<goals>
<goal>exec</goal>
</goals>
</execution>
</executions>
<configuration>
<executable>xcodebuild</executable>
<workingDirectory>${project.build.directory}/</workingDirectory>
</configuration>
</plugin>

关于objective-c - 使用 Maven 构建 Cocoa 项目,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1899021/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com