Skip to content

Commit 6a89173

Browse files
committed
add thread performance checker note to README
1 parent 0e4a2fe commit 6a89173

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ This is a _reference project_ for those that want to use [Unity as a Library](ht
6161
- [**UnityFramework.modulemap**](UnityProject/Assets/Plugins/iOS/UnityFramework.modulemap): Custom modulemap for plugin interoperability with Swift.
6262
- [**PostProcessBuild.cs**](UnityProject/Assets/Editor/PostProcessBuild.cs): Script automating integration of Unity generated Xcode project.
6363

64+
If you want to adapt an existing project based on the [**Unity.swift**](SwiftUIProject/UnitySwiftUI/Unity.swift) file, you will likely need to disable Xcode's `Thread Performance Checker` under `Product` > `Scheme` > `Edit Scheme` > `Run` > `Diagnostics` > `Runtime API Checking`. The file has a comment explaining this.
65+
6466
## Known issues
6567
- After building Unity project, Xcode workspace may not always reflect latest files and be unable to build. Close and reopen workspace to fix this.
6668
- When running while attached to Xcode, there may be some noticeable delay between device orientation change and UI layout. There should be no such delay when running detached.

0 commit comments

Comments
 (0)