Plugin dependencies and compiler flags
When making a build through the Unity 5.1 editor our game runs succesfully on iOS. When using the command line to build for iOS none of the dependencies or compiler flags for our plugins are coming through.
These are the parameters that you can set per plugin in the Unity editor and we can see that these changes are in the meta files but when the xcode project is created they are not there when built through the command line.
Are we missing a parameter or something?
Which plugins do you use? Usually plugins have post build scripts to do this job, but maybe those plugins don't do it this way, in this case you might need the XCode $$anonymous$$anipulation API from the answer I posted.
Answer by David-Berger · Nov 04, 2015 at 06:19 PM
You probably need to use the XCode Manipulation API - https://bitbucket.org/Unity-Technologies/xcodeapi similar to projects built in Unity Cloud Build, there are demos here -http://forum.unity3d.com/threads/ucb-demos.306687/ - which can also be used for local builds and should work the same way, so have a look if it might solve your issue. I can recommend the native library demo in the project to see how it's done.