Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Automated plug-in integration

Configure your project to use automated plug-in integration in XCode.
Read time 1 minuteLast updated 20 days ago

Unity supports automated plug-in integration and copies files with the following extensions to the generated Xcode project:
.a
,
.m
,
.mm
,
.c
,
.cpp
,
.h
,
.swift
.
To enable automated plug-in integration, enable iOS plug-ins in the Plug-in Inspector.
If you place files with these extensions in the
Assets/Plugins/iOS
folder, Unity only enables them for the iOS platform.
Note
Files copied to the generated Xcode project are no longer linked to their counterparts in your Unity Project. If you change these files in Xcode, you must copy them back into your Unity Project. Otherwise, Unity will overwrite them the next time you build your Project.

Additional resources