KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Runtime Error: The database or component cannot be opened in compiled mode
PRODUCT: 4D | VERSION: 20 | PLATFORM: Mac
Published On: May 9, 2025

When deploying an application for macOS, the following error may be encountered:



The database or component {application_name} cannot be opened in compiled mode because it was not compiled for Apple Silicon.

This error can occur when switching from a Mac machine with Intel processor to one with Silicon (M-series) chip. Particularly, if the application was compiled on Intel machine and was attempted to be opened on Silicon machine, this error would occur. To avoid this issue, the application must be re-compiled for Apple Silicon in project mode. Alternatively, on the Silicon machine, 4D can be configured to open using Rosetta.