Build project as ios framework failed

UATHelper: 打包 (iOS): Getting certifcate information via /Users/Shared/Epic Games/UE_4.27/Engine/Build/BatchFiles/Mac/RunMono.sh “/Users/Shared/Epic Games/UE_4.27/Engine/Binaries/DotNET/IOS/IPhonePackager.exe” certificates “/Users/dingjiaqing/Desktop/UnrealDemo/demo/demo.uproject” -bundlename com.vbs.ngcomic
UATHelper: 打包 (iOS): ERROR: System.IO.DirectoryNotFoundException: Could not find a part of the path ‘/Users/dingjiaqing/Desktop/UnrealDemo/demo/Binaries/IOS/Payload/demo.app’.
UATHelper: 打包 (iOS): at System.IO.Enumeration.FileSystemEnumerator1[TResult].CreateDirectoryHandle (System.String path, System.Boolean ignoreNotFound) [0x00032] in <e068e2227ab74c1bb3d724ebaab0e3ff>:0 UATHelper: 打包 (iOS): at System.IO.Enumeration.FileSystemEnumerator1[TResult]…ctor (System.String directory, System.IO.EnumerationOptions options) [0x00048] in :0
UATHelper: 打包 (iOS): at System.IO.Enumeration.FileSystemEnumerable1+DelegateEnumerator[TResult]..ctor (System.IO.Enumeration.FileSystemEnumerable1[TResult] enumerable) [0x00000] in :0
UATHelper: 打包 (iOS): at System.IO.Enumeration.FileSystemEnumerable1[TResult]..ctor (System.String directory, System.IO.Enumeration.FileSystemEnumerable1+FindTransform[TResult] transform, System.IO.EnumerationOptions options) [0x00042] in :0
UATHelper: 打包 (iOS): at System.IO.Enumeration.FileSystemEnumerableFactory.UserFiles (System.String directory, System.String expression, System.IO.EnumerationOptions options) [0x00014] in :0
UATHelper: 打包 (iOS): at System.IO.Directory.InternalEnumeratePaths (System.String path, System.String searchPattern, System.IO.SearchTarget searchTarget, System.IO.EnumerationOptions options) [0x0003c] in :0
UATHelper: 打包 (iOS): at System.IO.Directory.GetFiles (System.String path, System.String searchPattern, System.IO.EnumerationOptions enumerationOptions) [0x00000] in :0
UATHelper: 打包 (iOS): at System.IO.Directory.GetFiles (System.String path) [0x0000b] in :0
UATHelper: 打包 (iOS): at Ionic.Zip.ZipFile.AddOrUpdateDirectoryImpl (System.String directoryName, System.String rootDirectoryPathInArchive, Ionic.Zip.AddOrUpdateAction action, System.Boolean recurse, System.Int32 level) [0x0011e] in :0
UATHelper: 打包 (iOS): at Ionic.Zip.ZipFile.AddOrUpdateDirectoryImpl (System.String directoryName, System.String rootDirectoryPathInArchive, Ionic.Zip.AddOrUpdateAction action) [0x0000a] in :0
UATHelper: 打包 (iOS): at Ionic.Zip.ZipFile.AddDirectory (System.String directoryName, System.String directoryPathInArchive) [0x00000] in :0
UATHelper: 打包 (iOS): at IOSPlatform.PackageIPA (AutomationTool.ProjectParams Params, System.String ProjectGameExeFilename, DeploymentContext SC) [0x000fa] in <6f59c0e2a9344ef8afdcd01e37772f1c>:0
UATHelper: 打包 (iOS): at IOSPlatform.Package (AutomationTool.ProjectParams Params, DeploymentContext SC, System.Int32 WorkingCL) [0x00151] in <6f59c0e2a9344ef8afdcd01e37772f1c>:0
UATHelper: 打包 (iOS): at Project.Package (AutomationTool.ProjectParams Params, System.Int32 WorkingCL) [0x000c7] in :0
UATHelper: 打包 (iOS): at BuildCookRun.DoBuildCookRun (AutomationTool.ProjectParams Params) [0x00094] in :0
UATHelper: 打包 (iOS): at BuildCookRun.ExecuteBuild () [0x00040] in :0
UATHelper: 打包 (iOS): at AutomationTool.BuildCommand.Execute () [0x00001] in <538229d5ae744bf38e5a5850079734b9>:0
UATHelper: 打包 (iOS): at AutomationTool.Automation.Execute (System.Collections.Generic.List1[T] CommandsToExecute, System.Collections.Generic.Dictionary2[TKey,TValue] Commands) [0x0007c] in <538229d5ae744bf38e5a5850079734b9>:0
UATHelper: 打包 (iOS): at AutomationTool.Automation.Process (System.String[] Arguments, UnrealBuildTool.StartupTraceListener StartupListener) [0x00286] in <538229d5ae744bf38e5a5850079734b9>:0
UATHelper: 打包 (iOS): at AutomationTool.Program.MainProc (System.String[] Arguments, UnrealBuildTool.StartupTraceListener StartupListener) [0x00001] in <4f556dff359e450ca5015839534cd675>:0
UATHelper: 打包 (iOS): at AutomationTool.Program+<>c__DisplayClass1_0.b__2 () [0x00000] in <4f556dff359e450ca5015839534cd675>:0
UATHelper: 打包 (iOS): at AutomationTool.InternalUtils.RunSingleInstance (System.Func`1[TResult] Main) [0x000a0] in <538229d5ae744bf38e5a5850079734b9>:0
UATHelper: 打包 (iOS): at AutomationTool.Program.Main (System.String[] Arguments) [0x0020a] in <4f556dff359e450ca5015839534cd675>:0
UATHelper: 打包 (iOS): (see /Users/dingjiaqing/Library/Logs/Unreal Engine/LocalBuildLogs/Log.txt for full exception trace)
UATHelper: 打包 (iOS): AutomationTool exiting with ExitCode=1 (Error_Unknown)
PackagingResults: Error: System.IO.DirectoryNotFoundException: Could not find a part of the path ‘/Users/dingjiaqing/Desktop/UnrealDemo/demo/Binaries/IOS/Payload/demo.app’.
UATHelper: 打包 (iOS): RunUAT ERROR: AutomationTool was unable to run successfully.
PackagingResults: Error: AutomationTool was unable to run successfully.
PackagingResults: Error: Unknown Error

any solution?

Take a look at:

Is this path available?

/Users/dingjiaqing/Desktop/UnrealDemo/demo/Binaries/IOS/Payload/demo.app

我的打包也有这个问题,楼主解决了吗?
我的日志

Building 5 actions with 2 processes…
[1/5] Compile UnLuaDefaultParamCollector.cpp
[2/5] Link UnrealHeaderTool-UnLuaDefaultParamCollector.dylib
[3/5] Fixing dylib dependencies for UnrealHeaderTool
[4/5] WriteMetadata UnrealHeaderTool.version
[5/5] WriteMetadata UnrealHeaderTool.target
Total time in Parallel executor: 2.29 seconds
Deploying UnrealHeaderTool Mac Development…
Deploying now!
Parsing headers for sensen_ue_mobile
Running UnrealHeaderTool “C:\Projects\sensen_ue_mobile.uproject” “\Users\prismo\UE5\Builds\PC-0415\C\Projects\Intermediate\Build\IOS\sensen_ue_mobile\Development\sensen_ue_mobile.uhtmanifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -Unattended -WarningsAsErrors -abslog=“\Users\prismo\UE5\Builds\PC-0415\C\UE5.1\Engine\Programs\AutomationTool\Saved\Logs\UHT-sensen_ue_mobile-IOS-Development_Remote.txt”
LogPackageName: Display: FPackageName: Mount point added: ‘…/…/…/…/Projects/Plugins/UnLua/Content/’ mounted to ‘/UnLua/’
Reflection code generated for sensen_ue_mobile in 3.297107 seconds
/Applications/Xcode.app/Contents/Developer
Compiling with iPhoneOS SDK 15.5
Adding PostBuildSync action
Writing manifest to /Users/prismo/UE5/Builds/PC-0415/C/Projects/Intermediate/Remote/sensen_ue_mobile/IOS/Development/Manifest.xml
Written public header to C:\Projects\Binaries\IOS\Development\sensen_ue_mobile.framework\Headers\PreIOSEmbeddedView.h
Building sensen_ue_mobile…
Requested 1.5 GB free memory per action, 5.62 GB available: limiting max parallel actions to 3
Building 3 actions with 3 processes…
[1/3] sh /Users/prismo/UE5/Builds/PC-0415/C/Projects/Binaries/IOS/Development/sensen_ue_mobile.framework/sensen_ue_mobile
[2/3] IOSPostBuildSync Executing PostBuildSync
Log file: C:\UE5.1\Engine\Programs\AutomationTool\Saved\Logs\UBT-sensen_ue_mobile-IOS-Development_Remote_PostBuildSync.txt
Getting certifcate information via /Users/prismo/UE5/Builds/PC-0415/C/UE5.1/Engine/Build/BatchFiles/Mac/RunMono.sh “/Users/prismo/UE5/Builds/PC-0415/C/UE5.1/Engine/Binaries/DotNET/IOS/IPhonePackager.exe” certificates “/Users/prismo/UE5/Builds/PC-0415/C/Projects/sensen_ue_mobile.uproject” -bundlename com.shwanxiangsensen.donut
Running Mono…
/Users/prismo/UE5/Builds/PC-0415/C/UE5.1/Engine/Build/BatchFiles/Mac/SetupMono.sh: line 51: : command not found
Running bundled mono, version:
~/UE5/Builds/PC-0415/C/UE5.1/Engine ~/UE5/Builds/PC-0415/C/UE5.1/Engine
/Users/prismo/UE5/Builds/PC-0415/C/UE5.1/Engine/Build/BatchFiles/Mac/RunMono.sh: line 23: mono: command not found
Provision not specified or not found for sensen_ue_mobile, searching for compatible match…
Getting signing information via /Users/prismo/UE5/Builds/PC-0415/C/UE5.1/Engine/Build/BatchFiles/Mac/RunMono.sh “/Users/prismo/UE5/Builds/PC-0415/C/UE5.1/Engine/Binaries/DotNET/IOS/IPhonePackager.exe” signing_match “/Users/prismo/UE5/Builds/PC-0415/C/Projects/sensen_ue_mobile.uproject” -bundlename com.shwanxiangsensen.donut
Running Mono…
/Users/prismo/UE5/Builds/PC-0415/C/UE5.1/Engine/Build/BatchFiles/Mac/SetupMono.sh: line 51: : command not found
Running bundled mono, version:
~/UE5/Builds/PC-0415/C/UE5.1/Engine ~/UE5/Builds/PC-0415/C/UE5.1/Engine
/Users/prismo/UE5/Builds/PC-0415/C/UE5.1/Engine/Build/BatchFiles/Mac/RunMono.sh: line 23: mono: command not found
No matching provision file was discovered for /Users/prismo/UE5/Builds/PC-0415/C/Projects/sensen_ue_mobile.uproject. Please ensure you have a compatible provision installed.
Generating and uploading Crashlytics Data
[3/3] WriteMetadata sensen_ue_mobile.target
Total time in Parallel executor: 14.35 seconds
Total execution time: 35.91 seconds
[Remote] Downloading C:\Projects\Intermediate\Remote\sensen_ue_mobile\IOS\Development\Manifest.xml
[Rsync] C:\UE5.1\Engine\Extras\ThirdPartyNotUE\cwrsync\bin\rsync.exe --compress --verbose --rsh=“./ssh -i ‘/cygdrive/C/Users/pbi/AppData/Roaming/Unreal Engine/UnrealBuildTool/SSHKeys/172.16.10.54/prismo/RemoteToolChainPrivate.key’ -p 22” --chmod=ugo=rwx --copy-links --recursive --delete --delete-excluded --times --omit-dir-times --prune-empty-dirs “prismo@172.16.10.54”:‘/Users/prismo/UE5/Builds/PC-0415/C/Projects/Intermediate/Remote/sensen_ue_mobile/IOS/Development/Manifest.xml’ “/cygdrive/C/Projects/Intermediate/Remote/sensen_ue_mobile/IOS/Development/” -q
[Remote] Downloading build products
[Rsync] C:\UE5.1\Engine\Extras\ThirdPartyNotUE\cwrsync\bin\rsync.exe --compress --verbose --rsh=“./ssh -i ‘/cygdrive/C/Users/pbi/AppData/Roaming/Unreal Engine/UnrealBuildTool/SSHKeys/172.16.10.54/prismo/RemoteToolChainPrivate.key’ -p 22” --chmod=ugo=rwx --copy-links --recursive --delete --delete-excluded --times --omit-dir-times --prune-empty-dirs --files-from=“/cygdrive/C/UE5.1/Engine/Intermediate/Rsync/Download.txt” “prismo@172.16.10.54”:‘/Users/prismo/UE5/Builds/PC-0415/C/UE5.1/Engine/’ “/cygdrive/C/UE5.1/Engine/”
receiving file list … done
Programs/AutomationTool/Saved/Logs/UBT-sensen_ue_mobile-IOS-Development_Remote.txt

sent 42 bytes received 18,740 bytes 12,521.33 bytes/sec
total size is 145,743 speedup is 7.76
[Rsync] C:\UE5.1\Engine\Extras\ThirdPartyNotUE\cwrsync\bin\rsync.exe --compress --verbose --rsh=“./ssh -i ‘/cygdrive/C/Users/pbi/AppData/Roaming/Unreal Engine/UnrealBuildTool/SSHKeys/172.16.10.54/prismo/RemoteToolChainPrivate.key’ -p 22” --chmod=ugo=rwx --copy-links --recursive --delete --delete-excluded --times --omit-dir-times --prune-empty-dirs --files-from=“/cygdrive/C/UE5.1/Engine/Intermediate/Rsync/Download.txt” “prismo@172.16.10.54”:‘/Users/prismo/UE5/Builds/PC-0415/C/Projects/’ “/cygdrive/C/Projects/”

receiving file list … done
rsync: link_stat “/Users/prismo/UE5/Builds/PC-0415/C/Projects/Binaries/IOS/Development/sensen_ue_mobile.framework/Payload/sensen_ue_mobile.app/AppIcon60x60@2x.png” failed: No such file or directory (2)
rsync: link_stat “/Users/prismo/UE5/Builds/PC-0415/C/Projects/Binaries/IOS/Development/sensen_ue_mobile.framework/Payload/sensen_ue_mobile.app/AppIcon76x76@2x~ipad.png” failed: No such file or directory (2)
rsync: link_stat “/Users/prismo/UE5/Builds/PC-0415/C/Projects/Binaries/IOS/Development/sensen_ue_mobile.framework/Payload/sensen_ue_mobile.app/Assets.car” failed: No such file or directory (2)
rsync: link_stat “/Users/prismo/UE5/Builds/PC-0415/C/Projects/Binaries/IOS/Development/sensen_ue_mobile.framework/sensen_ue_mobile.stub” failed: No such file or directory (2)
Binaries/IOS/sensen_ue_mobile.target
Binaries/IOS/Development/sensen_ue_mobile.framework/sensen_ue_mobile

4.27需要用源码的引擎