UE5 iOS Build Error: "Workspace does not contain a scheme named UE5"

I setup everything for the iOS build (Certificate, mobile provisioning, etc.), but I get this error during quick launch that the ‘workspace doesn’t have a UE5 scheme’. I looked online for this, but I haven’t been able to find a solution.

> LogPlayLevel: 2022-10-07 10:46:34.897 xcodebuild[20294:412283] Writing error result bundle to /var/folders/0c/3yn4ntzj0db1ygnfdb6bpcdh0000gn/T/ResultBundle_2022-07-10_10-46-0034.xcresult
> LogPlayLevel: Error: xcodebuild: error: The workspace named "ue5demo_IOS" does not contain a scheme named "UE5". The "-list" option can be used to find the names of the schemes in the workspace.
> LogPlayLevel: Took 2.599855s to run env, ExitCode=65
> LogPlayLevel: Error: ERROR: CodeSign Failed
> LogPlayLevel:        (see /Users/hannahdavila/Library/Logs/Unreal Engine/LocalBuildLogs/Log.txt for full exception trace)
> LogPlayLevel: AutomationTool executed for 0h 0m 34s
> LogPlayLevel: AutomationTool exiting with ExitCode=32 (Error_FailedToCodeSign)
> LogPlayLevel: Completed Launch On Stage: Build Task, Time: 36.256306
> LogPlayLevel: Error: RunUAT ERROR: AutomationTool was unable to run successfully. Exited with code: 32
> PackagingResults: Error: Launch failed! Failed to Code Sign
> LogSlate: Took 0.001961 seconds to synchronously load lazily loaded font '../../../Engine/Content/Slate/Fonts/DroidSansFallback.ttf' (3848K)
> LogSlate: Last resort fallback font was requested. Font: '../../../Engine/Content/Slate/Fonts/DroidSansFallback.ttf', Character: '℠ (U+2120)'
> LogSlate: Took 0.002171 seconds to synchronously load lazily loaded font '../../../Engine/Content/SlateDebug/Fonts/LastResort.ttf' (5269K)
> LogSlate: Took 0.000325 seconds to synchronously load lazily loaded font '../../../Engine/Content/Slate/Fonts/NotoNaskhArabicUI-Regular.ttf' (144K)
2 Likes

I have the same error when building for physical device. Both my iOS dev profiles are recognized by UE5 Project Settings, the app id is registered as well but the Mobile Template UE5 example cannot be deployed to device.

That’s interesting, let me know if you find the solution.

It looks like Unreal isn’t able to properly build the workspace and schema, so maybe it’s a permissions error of some type?

> LogPlayLevel: Error: xcodebuild: error: The workspace named "ue5demo_IOS" does not contain a scheme named "UE5". The "-list" option can be used to find the names of the schemes in the workspace.

Ok. I figured it out. You have to make sure you have cocoapods installed.