# ObjectiveCPlugin

@Incubating
abstract class ObjectiveCPlugin : Plugin<Project> (source)

### Deprecated

The Gradle software model is deprecated and will be removed in Gradle 10. Use the new component model (e.g. `cpp-application`, `cpp-library`, `swift-application`, `swift-library`, `xctest`) instead.

A plugin for projects wishing to build native binary components from Objective-C sources.

Automatically includes the ObjectiveCLangPlugin for core Objective-C support and the org.gradle.nativeplatform.plugins.NativeComponentModelPlugin for native component support.

- Creates a org.gradle.language.objectivec.tasks.ObjectiveCCompile task for each org.gradle.language.objectivec.ObjectiveCSourceSet to compile the Objective-C sources.

#### Since

2.2

## Constructors

ObjectiveCPlugin
Link copied to clipboard
constructor()

## Functions

apply
Link copied to clipboard
open fun apply(project: Project)
Apply this plugin to the given target object.