# ReadFromFile(string)

> Reads the scheme from a file identified by the given path.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.iOS.Xcode](/engine/6000.3/script-reference/unityeditor/ios/xcode.md)
* **Assembly:** UnityEditor.iOS.Extensions.Xcode

```csharp
public void ReadFromFile(string path)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Path of the file.

### Remarks

The existing values of this XcScheme instance are discarded and replaced with the values read from the file.

Get the path to the Unity project build folder containing your Xcode project using a post-process build callback function. XcScheme files are stored within the Xcode project package under the `xcshareddata` folder. Additional Resources: [PostProcessBuildAttribute](/engine/6000.3/script-reference/unityeditor/callbacks/postprocessbuildattribute.md).
