This version of Unity is unsupported.

PBXProject.WriteToFile

public void WriteToFile(string path);

Parameters

pathPath to write the project contents to.

Description

Writes the project contents to the specified file.