与maven建立可可项目

Vya*_*hin 7 maven-2 objective-c maven

我有一个可可项目,我想用maven构建它.是否有任何maven插件用于构建objective-c代码?

Usm*_*ail 2

我已经使用 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>
Run Code Online (Sandbox Code Playgroud)