wind
October 15, 2025, 5:31am
1
Hi
In macOS (apple silicon m4) when running build everything works normal. But when trying to bundle macOS application i got this error
1. replacing existing signature
2. unsealed contents present in the bundle root
Iβve used the same device to bundle to iOS with no problem.
Maybe i miss something that need to be done first for bundling macOS Application?
Thank you for the help
britzl
October 15, 2025, 6:05am
2
I recognise this error. Are you using any Bundle Resources? I think you have files in the wrong place within your .app.
1 Like
wind
October 15, 2025, 6:19am
3
Yes iβm using Bundle Resource.
The bundle for macOS works after removing the Bundle Resource from game.project.
Is there any step that need to be done before putting Bundle Resource in macOS? Maybe i miss that step
Iβve used the same Bundle Resource for bundling Android, Linux, iOS, Windows with no problem
Only when bundling for macOS, the bundle is failing
britzl
October 15, 2025, 7:52am
4
What does the folder structure look like? Where are you putting the bundle resources?
wind
October 15, 2025, 9:35am
5
Here is the config and folder structure. I only have one common folder with one licence txt inside it
britzl
October 15, 2025, 9:48pm
6
Ok, so that apache-2.txt will end up in the root of your .app right? Thatβs not the correct place if you intend to load it. The internals of an .app file is usually something like this (example from building with the Steam extension):
> tree Steam.app
Steam.app
βββ Contents
βββ Info.plist
βββ MacOS
β βββ libsdkencryptedappticket.dylib
β βββ libsteam_api.dylib
β βββ Steam
β βββ steam_appid.txt
βββ Resources
βββ game.arcd
βββ game.arci
βββ game.dmanifest
βββ game.projectc
βββ game.public.der
Your apache-2.txt will end up on the same level as Contents:
Steam.app
βββ apache-2.txt
βββ Contents
βββ Info.plist
You need to replicate the folder structure in your bundle resources specifically for macOS with /res/osx/Contents/MacOS or /res/osx/Contents/Resources (depending on where in your .app you need the file).
1 Like
wind
October 17, 2025, 5:02am
7
Ok, now i understand. The build is now going smoothly after i move the .txt file to Contents/Resources
Thank you for the help!!
1 Like