I’m using the mod_pbxproj.py script for executing post process commands when building for iOS. I use it to add external dependencies and frameworks from the folder that’s usually on my desktop. How can I do that using the cloud build? My project won’t compile in xCode without having this external files included.
This is my OnPostProcessBuild editor script:
string sdkPath = "/Users/admin/Desktop/SDK/";
Process pythonProcess = new Process();
pythonProcess.StartInfo.FileName = "python";
pythonProcess.StartInfo.Arguments = string.Format("Assets/Editor/post_process.py \"{0}\" \"{1}\"", pathToBuildProject, sdkPath);
UnityEngine.Debug.Log(pythonProcess.StartInfo.Arguments);
pythonProcess.StartInfo.UseShellExecute = false;
pythonProcess.StartInfo.RedirectStandardOutput = false;
pythonProcess.Start();
pythonProcess.WaitForExit();