static void OnPostprocessIOS(string pathToBuiltProject) { XCProject project = new XCProject(pathToBuiltProject); string[] files = Directory.GetFiles(EditorConstants.EditorPathIOS, "*.projmods", System.IO.SearchOption.AllDirectories); foreach (string file in files) { project.ApplyMod(file); } project.Save(); }
static void OnPostprocessIOS(string pathToBuiltProject) { XCProject project = new XCProject(pathToBuiltProject); string pluginDir = Path.Combine(Application.dataPath, "LunarConsole/Editor/iOS"); string[] files = Directory.GetFiles(pluginDir, "*.projmods", System.IO.SearchOption.AllDirectories); foreach (string file in files) { project.ApplyMod(file); } project.Save(); }