With macOS 27 (Golden Gate) Apple removes the Rosetta component during the system upgrade. IncoPOS for Mac uses the Mono Framework, which needs Rosetta on Apple Silicon computers (M1, M2, M3, M4…). As a result, after the upgrade you may see one or more of the following problems:
- On startup a message appears: “IncoPOS requires the Mono Framework version 5.18 or later”, although Mono is installed.
- IncoPOS starts, but only squares are shown instead of text, or typing in Cyrillic (or another non-Latin layout) produces Latin letters.
- IncoPOS starts, but cannot connect to the database on another computer in the network and shows “The connection with database was interrupted!”
Follow the steps below in the given order. If a problem does not occur on your computer, skip the corresponding step. The fix is needed only once and will be included automatically in the next version of IncoPOS.
All commands are run in the Terminal application: open Finder->Applications->Utilities->Terminal (or press ⌘ + Space, type Terminal and press Enter). Copy the command, paste it into the Terminal window and press Enter.
1. Installing Rosetta
Run the following command:
softwareupdate --install-rosetta --agree-to-license
Wait until the message “Install of Rosetta 2 finished successfully” appears. Start IncoPOS. If the application opens and the text is displayed normally, continue with section 3.
Note: Do not reinstall Mono before Rosetta is installed. If you have already done so, you will see squares instead of text or Latin letters when typing – continue with section 2.
2. Squares instead of text or Latin letters when typing
This problem appears when Mono was installed (or reinstalled) before Rosetta. In that case the Mono installer could not complete its setup. Install Mono once more, now that Rosetta is available.
2.1 Installing Mono
- Open https://www.mono-project.com/download/stable/ and download the macOS package (Stable channel or Visual Studio channel – both are suitable).
- Open the downloaded .pkg file and follow the installer to the end using the Continue and Install buttons. You will be asked for the password of the computer user.
- Start IncoPOS. The text should now be displayed normally and typing should work in every keyboard layout.
2.2 Alternative without downloading
The same result is achieved with the three commands below. You will be asked for the user password – no characters are shown while typing it.
sudo sh -c '/Library/Frameworks/Mono.framework/Versions/Current/bin/pango-querymodules > /Library/Frameworks/Mono.framework/Versions/Current/etc/pango/pango.modules'
sudo sh -c '/Library/Frameworks/Mono.framework/Versions/Current/bin/gdk-pixbuf-query-loaders > /Library/Frameworks/Mono.framework/Versions/Current/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache'
sudo sh -c '/Library/Frameworks/Mono.framework/Versions/Current/bin/gtk-query-immodules-2.0 > /Library/Frameworks/Mono.framework/Versions/Current/lib/gtk-2.0/2.10.0/immodules.cache'
Start IncoPOS again after running them.
3. No connection to a database on another computer
If the database (MySQL) is on another computer in the local network and IncoPOS shows “The connection with database was interrupted!”, the cause is a new protection in macOS 27 – applications started from Finder have no access to the local network until the system explicitly asks for permission. For the current version of IncoPOS macOS 27 does not show this request, so the application has to be started in a different way until the updated version is released.
3.1 Creating a start icon
Run the command:
echo '/Applications/IncoPOS.app/Contents/MacOS/IncoPOS' > ~/Desktop/IncoPOS.command; chmod +x ~/Desktop/IncoPOS.command
A file named IncoPOS.command will appear on the desktop.
3.2 Starting IncoPOS
- Start IncoPOS by double-clicking IncoPOS.command, not from the Applications folder or the Dock.
- A Terminal window opens together with IncoPOS – do not close it while working with the application (you can minimize it). Closing this window also closes IncoPOS.
- The first time you start it this way, macOS may ask whether Terminal may access the local network – choose Allow.
Note: After you install the updated version of IncoPOS, delete the IncoPOS.command file and start the application as usual.
4. Checking whether you are affected
Open Apple menu->About This Mac. This article applies to macOS 27 and later on computers with an Apple M1/M2/M3/M4 chip. No changes are needed on Intel-based computers or on earlier macOS versions.