Add the plugin to the Unity XCode project.
Last updated
Was this helpful?
Last updated
Was this helpful?
In the Unity project, copy the files resulting from the compilation of the iOS plugin. The output files are:
2. Copy them to the Assets/Plugin/iOS path
Once the build is done, open the resulting XCode project. Curl must be in the frameworks section and in the Target Membership only UnityFramework appears.
4. For both Target Unity-iPhone and UnityFramework, the Search Path properties must include the directory where the Curl library is located recursively. The library will be found in the relative directory Frameworks/Plugins/iOS/curl.framework
For UnityFramework, in the “Other Linker Flags” property, add -lz
Configuring Build Phases for Unity-iPhone
Configuring Build Phases for UnityFramework. Check that the libraries are found: libz.tbd, curl.framework and libiosBasicPlugin.a