Building a Framework

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

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

Consuming a Framework

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

<dependency>
	<groupId>com.my.group<groupId>
	<artifactId>my-framework<artifactId>
	<version>1.0.0<version>
	<type>xcode-static-framework<type>
<dependency>
When the initialize goal is run, this will place the framework 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.