This version of Unity is unsupported.

Parameters

fileGuidThe GUID of the file reference.
pathThe physical path to the new file on the filesystem.
sourceTreeThe source tree the path is relative to. By default it's PBXSourceTree.Source. The PBXSourceTree.Group tree is not supported.

Description

Replaces the file with given GUID with the specified file.

The path to the specified file is replaced while preserving the GUID of the old file.