Go to 'Build Settings' → 'Header Search Path' field (enter the details without collapsing the “Header Search Paths”) and enter ' /usr/local/include' (the opencv header files are stored here as part of build that we performed in earlier step) Select UnityPlugin in the navigation view 'Product Name' is set to 'UnityPlugin'.Ĭhange bundle identifier to “”
Now we will create a native Plugin for Mac to be used in Unity as Plugin.Ĭhoose MacOS> Framework & Library> Bundle.