Failed to finalize the .app with Xcode in Unreal Engine
The engine handed the final app bundle to Xcode (xcodebuild) and Xcode returned an error. The cause is printed by xcodebuild in the lines just above.
Paste your log: find the cause in seconds Runs in your browser, nothing is uploaded.
Common causes
- An Xcode version not supported by the engine version.
- Xcode license not accepted or command line tools not selected.
- Signing settings: missing team, certificate or provisioning profile.
How to fix it
- Read the xcodebuild output above this line and search for "error:".
- Check that your Xcode version is supported by your engine version, and run sudo xcodebuild -license accept.
- Make sure the right Xcode is selected: xcode-select -p, or sudo xcode-select -s /Applications/Xcode.app.
- Check signing in Project Settings > Platforms (team ID, certificate, provisioning profile), then package again.
Questions
Can it be caught before cooking?
Yes, it can be checked before you start a cook: Check the Xcode version, license state, selected developer directory and signing settings.