Archiving my MacOS Project in Xcode and upload it to AppStoreConnect results in a Sandbox error:
App sandbox not enabled. The following executables must include the “com.apple.security.app-sandbox” entitlement with a Boolean value of true in the entitlements property list:
Although not all sub executables have that entitlement. I marked with a red arrow the ones that not have the entitlement.
Screenshot of Package Review:
No I still have the same issue.
IOS works fine meanwhile in UE5.3 with some additional installations from GitHub. MacOS doesn’t work due to that sandbox error.
Okay, I found a way to fix it. Be prepared for some annoying stuff…
For me it only complained about the EpicWebHelper. (I am running UE 5.3.2)
You have to add the Entitlement to the EpicWebHelper. To do this, you have to codesign the EpicWebHelper.app provided in the engine before you package the game.
Please note:
Your entitlements file may have to include other entitlements as well.
Also I am not to sure if everything is needed for the codesign commands and if the parameters are appropriate… but it worked.
Hi, @B_REX
I am developing on Unreal 5.2. My game run successfully in Mac and I am successfully able to distribute externally in Mac however while uploading the game to the Mac App store, the com.apple.security.app-sandbox needs to set to true in entitlements.
If i do this then the game doesn’t run and quits unexpectedly.
And my prime suspect is EpicWebHelper because prior to this the game was running fine.
After using EpicWebHelper plugin and with com.apple.security.app-sandbox set to true, it is not running.
Can you let me know, what are the things that you had done to run the game successfully?