Building a Library

To start building an xcode library, make sure that you set the packaging of your pom.xml to xcode-library as seen below:

<packaging>xcode-library<packaging>
This will set-up the default lifecycle to handle building/packaging an xcode library.

Consuming a Library

Generally you will consume an xcode library with an iOS application in this plugin. Assuming you have a packaging of "xcode-application" all you have to do is include your library as a dependency in your dependency section

<dependency>
	<groupId>com.my.group<groupId>
	<artifactId>my-library<artifactId>
	<version>1.0.0<version>
	<type>xcode-library<type>
<dependency>
When the initialize goal is run, this will place the library (and header files), in your target directory. And if the right flags are provided to the plugin, it will also add them to your application so you don't have to import them.