I'm building for iOS and using the FacebookSDK. And I want to automate thru Jenkins. Now when I "build and Run" in the editor, It builds the xcode project correctly. But when I run it thru the commandline the postbuildprocess never gets run. I can't find anything online about this issues. Anyone have any ideas? Or need any other info to come up with a theory?
Here is the autobuild code:
[MenuItem("Build/iOS")]
static void PerformiOSBuild ()
{
EditorUserBuildSettings.SwitchActiveBuildTarget(BuildTarget.iPhone);
BuildPipeline.BuildPlayer(GetScenePaths(), "iOS",BuildTarget.iPhone,BuildOptions.None);
}
and here is my commandline args:
/Applications/Unity/Unity.app/Contents/MacOS/Unity -projectPath "/Users/USERNAME/Desktop/Work/PROJECTNAME/Unity/" -executeMethod AutoBuilder.PerformiOSBuild -quit -batchmode