I have the same problem:
Env: (MacBook Pro2018, 15.3.2) with UE5.5.4, Xcode 16.2>
I create a new project (Blueprint IOS project) on MacBook(2018 Intel CPU) with UE 5.5.4, (Xcode 16.2).
when I tried import Cert and Provisioning files in Project Sewtting > IOS,
the Same Following error happens(whether ModernXcode=True or False)
(but Xcode and KeyChainAccess reads the Cert and Provisioning fiels as Valid).
I guess there is some fault among UE5.5.4 and Xcode, KeyChainAccess, MacOS..
There was no problem in UE5.1.
==> Error Message:
LogTemp: Running Dotnet…
LogTemp: Setting up bundled DotNet SDK
LogTemp: /Users/Shared/EpicGames/UE_5.5/Engine/Build/BatchFiles/Mac/../../../Binaries/ThirdParty/DotNet/8.0.300/mac-x64
LogTemp: /Users/Shared/EpicGames/UE_5.5/Engine /Users/Shared/EpicGames/UE_5.5
LogTemp: A fatal error was encountered. The library ‘libhostpolicy.dylib’ required to execute the application was not found in ‘/Users/Shared/EpicGames/UE_5.5/Engine/Binaries/DotNET/IOS/’.
LogTemp: Failed to run as a self-contained app.
LogTemp: - The application was run as a self-contained app because ‘/Users/Shared/EpicGames/UE_5.5/Engine/Binaries/DotNET/IOS/IPhonePackager.runtimeconfig.json’ was not found.
LogTemp: - If this should be a framework-dependent app, add the ‘/Users/Shared/EpicGames/UE_5.5/Engine/Binaries/DotNET/IOS/IPhonePackager.runtimeconfig.json’ file and specify the appropriate framework.
========================
====>
the following problem has not been solved
The library ‘libhostpolicy.dylib’ required to execute the application was not found in ‘/Users/Shared/EpicGames/UE_5.5/Engine/Binaries/DotNET/IOS/’
Unreal5.5.4 doesn’t recognize the Cert and Provision files yet.
But, I made the archive of my project and to upload it to the AppstoreConnect successfully.
I added an empty C++ class to My blueprint project (after this, in Unreal menu you can see, tool > Generate Xcode project / Update Xcode project).
Open the Xcode project > make an archive > upload it to the AppstoteConnect.
for a related reference:
I hope this could be a help!
P.S.:
(1) Xcode didn’t recognized the provisioning files. So to solve this problem, I doublickclicked the Cert files and Provisioning files on Mac after opened the Xcode and the KeychainAccess program on Mac (wierd) in advance.
(2) I disabled the automatically manage Cert in Xcode, and I imported the provisiomning file manually when making archive and validate App and Distrubute App (by custom method)