iOS on Xcode Show Code Signing Error

On Mac

  1. Install Unreal Engine 4.24.2
  2. Create a new project (C++) (Empty)
  3. Open Xcode Project
  4. Edit Scheme > Run > Change Build Configuration to Development
  5. Change My Mac to iPhone that connected with the Mac
  6. Try to Run

The error shown

:exclamation:Code Signing Error

:exclamation:Code Signing Error: Code signing is required for product type ‘Application’ in SDK ‘iOS 13.2’

How to step-by-step creating Unreal Engine with Xcode Project for iOS. I tried to search this error but I found nothing.

PS if I change back to scheme > run > development editor and run My Mac there are another error

:exclamation:/Users/Shared/Epic Games/UE_4.24/Engine/Binaries/Mac/UE4Editor.app: No such file or directory

:exclamation:Command /usr/bin/codesign failed with exit code 1

And that location there is no any file name UE4Editor.app

So I got an error for codesigning as well and the only thing that seemed to fix it ( Everything was correct bundle identifier, teams etc) Was to disable Automatic Signing in Project Settings iOS tab, also disabling automatic signing in XCode project’s signing and capabilities editor might have helped too