Skip to content

Commit 83d7b5b

Browse files
author
Eric Miller
committed
Update README
1 parent 10df641 commit 83d7b5b

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

Assets/metal_validation_scheme.png

194 KB
Loading

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,14 @@ cd ExampleProject
5252
$ UnityBuildKit generate
5353
```
5454

55+
4. Once generation is completed, open the Xcode project. Using the Build Scheme drop down menu, select Edit Scheme to edit your project's scheme (the scheme should be the same name as your project). Select the Run action then the Options tab. In the middle of the window, you will see `Metal API Validation` with a set of options in a drop down menu. Change the current option to `Disabled`, as seen below:
56+
![](Assets/metal_validation_scheme.png)
57+
58+
#### Notes
59+
- The generation script sets up the Unity project to build for the Device SDK. These means that, if building for a simulator, there is a high probability that you will encounter build errors in Xcode. Change the run destination to a physical device and the errors should go away.
60+
61+
- If building for a physical device, do not forget to set up your code signing.
62+
5563
### To refresh the Xcode project
5664
After making updates to your Unity project, you'll need to refresh the files linked with the Xcode project. Currently, Unity needs to be closed for this process to begin.
5765

0 commit comments

Comments
 (0)