IOS Build/Launch Error

Finally after i managed to make UE4 actually package for IOS, i stumbled across an error, firstly when packaging deployment fails, but it does output an executable to my iPhone.

This is the log message of the error:

LogPlayLevel: ********** DEPLOY COMMAND STARTED **********
LogPlayLevel: Running: C:\Program Files\Epic Games\UE_4.21\Engine\Binaries\DotNET\IOS\DeploymentServer.exe Install -ipa "E:\TEST\IOSDeployment\IOSDeployment\Binaries\IOS\IOSDeployment.ipa" -device All_iOS_On_UE4DEV2 -additionalcommandline "-SessionId=53A01E2C407250D778167ABE1A01A776 -SessionOwner="UE4-Dev2" -SessionName="Launch On Device"  "
LogPlayLevel:   [deploy] Created deployment server.
LogPlayLevel:   [DD] Trying to connect to mobile device running iOS ...
LogPlayLevel:   [DD] Mobile Device 'Mite' connected
LogPlayLevel:   Device 'Mite' with id ef122e21dbd67f52fdb3fa91451033c9862517fe of type iPhone9,4 is being checked against All_iOS_On_UE4DEV2.
LogPlayLevel:   [DD] Transferring IPA to device 'Mite' ...
LogPlayLevel:   [DD]  ... Transferred 6144 KB of 127161 KB
LogPlayLevel:   [DD]  ... Transferred 11264 KB of 127161 KB
LogPlayLevel:   [DD]  ... Transferred 16384 KB of 127161 KB
LogPlayLevel:   [DD]  ... Transferred 21504 KB of 127161 KB
LogPlayLevel:   [DD]  ... Transferred 26624 KB of 127161 KB
LogPlayLevel:   [DD]  ... Transferred 31744 KB of 127161 KB
LogPlayLevel:   [DD]  ... Transferred 36864 KB of 127161 KB
LogPlayLevel:   [DD]  ... Transferred 41984 KB of 127161 KB
LogPlayLevel:   [DD]  ... Transferred 47104 KB of 127161 KB
LogPlayLevel:   [DD]  ... Transferred 52224 KB of 127161 KB
LogPlayLevel:   [DD]  ... Transferred 57344 KB of 127161 KB
LogPlayLevel:   [DD]  ... Transferred 62464 KB of 127161 KB
LogPlayLevel:   [DD]  ... Transferred 67584 KB of 127161 KB
LogPlayLevel:   [DD]  ... Transferred 72704 KB of 127161 KB
LogPlayLevel:   [DD]  ... Transferred 77824 KB of 127161 KB
LogPlayLevel:   [DD]  ... Transferred 82944 KB of 127161 KB
LogPlayLevel:   [DD]  ... Transferred 88064 KB of 127161 KB
LogPlayLevel:   [DD]  ... Transferred 93184 KB of 127161 KB
LogPlayLevel:   [DD]  ... Transferred 98304 KB of 127161 KB
LogPlayLevel:   [DD]  ... Transferred 103424 KB of 127161 KB
LogPlayLevel:   [DD]  ... Transferred 108544 KB of 127161 KB
LogPlayLevel:   [DD]  ... Transferred 113664 KB of 127161 KB
LogPlayLevel:   [DD]  ... Transferred 118784 KB of 127161 KB
LogPlayLevel:   [DD]  ... Transferred 123904 KB of 127161 KB
LogPlayLevel:    ... Finished copying to 'PublicStaging/IOSDeployment.ipa' in 6.98 s
LogPlayLevel:   [DD] Installing IPA on device 'Mite' ...
LogPlayLevel:   [DD]  ... Install is 5% complete at phase 'CreatingStagingDirectory'
LogPlayLevel:   [DD]  ... Install is 15% complete at phase 'ExtractingPackage'
LogPlayLevel:   [DD]  ... Install is 20% complete at phase 'InspectingPackage'
LogPlayLevel:   [DD]  ... Install is 20% complete at phase 'TakingInstallLock'
LogPlayLevel:   [DD]  ... Install is 30% complete at phase 'PreflightingApplication'
LogPlayLevel:   [DD]  ... Install is 30% complete at phase 'InstallingEmbeddedProfile'
LogPlayLevel:   [DD]  ... Install is 40% complete at phase 'VerifyingApplication'
LogPlayLevel:   [DD]  ... Install is 50% complete at phase 'CreatingContainer'
LogPlayLevel:   [DD]  ... Install is 60% complete at phase 'InstallingApplication'
LogPlayLevel:   [DD]  ... Install is 70% complete at phase 'PostflightingApplication'
LogPlayLevel:   [DD]  ... Install is 80% complete at phase 'SandboxingApplication'
LogPlayLevel:   [DD]  ... Install is 90% complete at phase 'GeneratingApplicationMap'
LogPlayLevel:   Install \ Update of "IOSDeployment.ipa" finished in 10.72 seconds
LogPlayLevel:   [DD]
LogPlayLevel:   Exiting.
LogPlayLevel: Took 20.1115544s to run DeploymentServer.exe, ExitCode=0
LogPlayLevel: Running: C:\Program Files\Epic Games\UE_4.21\Engine\Binaries\DotNET\IOS\DeploymentServer.exe Deploy -manifest "E:\TEST\IOSDeployment\IOSDeployment\Saved\StagedBuilds\IOS\Manifest_DeltaUFSFiles_All_iOS_On_UE4DEV2.txt" -device All_iOS_On_UE4DEV2 -additionalcommandline "-SessionId=53A01E2C407250D778167ABE1A01A776 -SessionOwner="UE4-Dev2" -SessionN
ame="Launch On Device"  " -bundle com.distantpoint.Alcoa
LogPlayLevel:   [deploy] Created deployment server.
LogPlayLevel:   [DD] Trying to connect to mobile device running iOS ...
LogPlayLevel:   [DD] Mobile Device 'Mite' connected
LogPlayLevel:   [DD]  ... Connected to bundle 'com.distantpoint.Alcoa'
LogPlayLevel:   [DD]  ... Copying 'E:\TEST\IOSDeployment\IOSDeployment\Saved\StagedBuilds\IOS\cookeddata\iosdeployment\iosdeployment.uproject' -> '/Library/Caches/iosdeployment/iosdeployment.uproject' ...
LogPlayLevel:   Directory (/Library/Caches/iosdeployment) doesn't exist!
LogInit: XAudio2 using 'Speakers (Realtek(R) Audio)' : 2 channels at 48 kHz using 32 bits per sample (channel mask 0x3)
LogPlayLevel:   CreateDirectory (/Library/Caches/iosdeployment) failed
LogPlayLevel:   [DD]  ... Failed to transfer a file, extended error is 'AFCFileRefOpen (/Library/Caches/iosdeployment/iosdeployment.uproject) failed with error 12'
LogPlayLevel:   [DD]
LogPlayLevel:   Exiting.
LogPlayLevel: Took 184.1315017s to run DeploymentServer.exe, ExitCode=1
LogPlayLevel: Error: ERROR: Command failed (Result:1): C:\Program Files\Epic Games\UE_4.21\Engine\Binaries\DotNET\IOS\DeploymentServer.exe Deploy -manifest "E:\TEST\IOSDeployment\IOSDeployment\Saved\StagedBuilds\IOS\Manifest_DeltaUFSFiles_All_iOS_On_UE4DEV2.txt" -device All_iOS_On_UE4DEV2 -additionalcommandline "-SessionId=53A01E2C407250D778167ABE1A01A776 -S
essionOwner="UE4-Dev2" -SessionName="Launch On Device"  " -bundle com.distantpoint.Alcoa. See logfile for details: 'DeploymentServer-2020.09.01-15.56.46.txt'
LogPlayLevel:        (see C:\Users\UE4-Dev2\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.21\Log.txt for full exception trace)
LogPlayLevel: AutomationTool exiting with ExitCode=1 (Error_Unknown)
LogPlayLevel: Completed Launch On Stage: Deploy Task, Time: 272.517345
LogPlayLevel: BUILD FAILED
PackagingResults: Error: Deployment failed! Unknown Error

After that when i open the executable on my iPhone it crashes saying “Failed to open descriptor file …/…/…/”

Ive searched everything and nothing fixed my issue, anyone have any idea, thanks in advance.

Have you tried deleting saved, binaries, and intermediate folders and then rebuilding in VS, then finally repackaging? That fixes most mysterious errors for me.

Yes, same result although its a brand new project just to test IOS launch option