xcode:xcode-package-app

Full name:

ca.mestevens.ios:xcode-maven-plugin:0.9.1:xcode-package-app

Description:

Goal to package your .app file and optionally deploy it to the simulator.

Attributes:

  • Requires a Maven project to be executed.
  • Binds by default to the lifecycle phase: package.

Required Parameters

Name Type Since Description
bundleId String - The bundle id of your application. This is required.
User property is: xcode.project.bundle.id.
deviceAppPath String - The path to your .app file created by the build mojo. Defaults to "${project.build.directory}/build/${project.artifactId}.app".
Default value is: ${project.build.directory}/build/iPhone/${project.artifactId}.app.
User property is: xcode.project.device.app.path.
simulatorAppPath String - The path to your .app file created by the build mojo. Defaults to "${project.build.directory}/build/${project.artifactId}.app".
Default value is: ${project.build.directory}/build/iPhone-simulator/${project.artifactId}.app.
User property is: xcode.project.simulator.app.path.
xcrun String - The path to your xcrun command. This defaults to /usr/bin/xcrun."
Default value is: /usr/bin/xcrun.
User property is: xcode.project.xcrun.path.

Optional Parameters

Name Type Since Description
buildDevice boolean - Property to determine whether or not to build for device.
Default value is: true.
User property is: xcode.project.build.device.
buildSimulator boolean - Property to determine whether or not to build for the simulator.
Default value is: true.
User property is: xcode.project.build.simulator.
deploy boolean - A flag to determine whether or not you want to deploy your .app to the simulator and run it.
Default value is: false.
User property is: xcode.project.deploy.
deployDevice String - The simulator to deploy to, usually takes the form of something like "iPhone
Default value is: iPhone 6 (8.1 Simulator).
User property is: xcode.project.simulator.name.
ipaName String - The name of the ipa file you want to create. Defaults to ${project.artifactId}.ipa.
Default value is: ${project.artifactId}.ipa.
User property is: xcode.project.ipa.name.

Parameter Details

buildDevice:

Property to determine whether or not to build for device.
  • Type: boolean
  • Required: No
  • User Property: xcode.project.build.device
  • Default: true

buildSimulator:

Property to determine whether or not to build for the simulator.
  • Type: boolean
  • Required: No
  • User Property: xcode.project.build.simulator
  • Default: true

bundleId:

The bundle id of your application. This is required.
  • Type: java.lang.String
  • Required: Yes
  • User Property: xcode.project.bundle.id

deploy:

A flag to determine whether or not you want to deploy your .app to the simulator and run it.
  • Type: boolean
  • Required: No
  • User Property: xcode.project.deploy
  • Default: false

deployDevice:

The simulator to deploy to, usually takes the form of something like "iPhone
  • Type: java.lang.String
  • Required: No
  • User Property: xcode.project.simulator.name
  • Default: iPhone 6 (8.1 Simulator)

deviceAppPath:

The path to your .app file created by the build mojo. Defaults to "${project.build.directory}/build/${project.artifactId}.app".
  • Type: java.lang.String
  • Required: Yes
  • User Property: xcode.project.device.app.path
  • Default: ${project.build.directory}/build/iPhone/${project.artifactId}.app

ipaName:

The name of the ipa file you want to create. Defaults to ${project.artifactId}.ipa.
  • Type: java.lang.String
  • Required: No
  • User Property: xcode.project.ipa.name
  • Default: ${project.artifactId}.ipa

simulatorAppPath:

The path to your .app file created by the build mojo. Defaults to "${project.build.directory}/build/${project.artifactId}.app".
  • Type: java.lang.String
  • Required: Yes
  • User Property: xcode.project.simulator.app.path
  • Default: ${project.build.directory}/build/iPhone-simulator/${project.artifactId}.app

xcrun:

The path to your xcrun command. This defaults to /usr/bin/xcrun."
  • Type: java.lang.String
  • Required: Yes
  • User Property: xcode.project.xcrun.path
  • Default: /usr/bin/xcrun