private static void DoAddLocalizationFolder(string projectPath) { string pbxProjectPath = UnityEditor.iOS.Xcode.PBXProject.GetPBXProjectPath(projectPath); UnityEditor.iOS.Xcode.PBXProject originalProj = new UnityEditor.iOS.Xcode.PBXProject(); originalProj.ReadFromFile(pbxProjectPath); string localizationFolderPath = $"{projectPath}/Localization"; if (false == Directory.Exists(localizationFolderPath)) { Directory.CreateDirectory(localizationFolderPath); } originalProj.AddFolderReference(localizationFolderPath, "Localization"); originalProj.WriteToFile(pbxProjectPath); }