On 2025-08-08 22:37, DougC via fpc-pascal wrote:

I have downloaded the fpc-3.2.2.intelarm64-macosx.dmg file and opened it. Inside is a fpc-3.2.2-intelarm64-macosx.mpkg file.

What do I do with this file? I'm used to dragging an app into the Applications folder. Should I do that?

If I open it with the installer app, I get a pop-up saying
Apple could not verify "fpc-3.2.2-intelarm64-macosx.mpkg" is free of malware that may harm your Mac or compromise your privacy.
and no option to run it anyway.

Unfortunaly, the latest macOS versions make it even harder to run software made by people that don't pay Apple 80 euro per year.

Their are two options:

Terminal
1) open Terminal
2) type: "xattr -d -r " (without the quotes, but with the trailing space; don't press return) 3) drag fpc-3.2.2-intelarm64-macosx.mpkg from the Finder to the Terminal window
4) press return
5) (possibly allow Terminal to access files in the folder containing that file)
6) open fpc-3.2.2-intelarm64-macosx.mpkg from the Finder

System Preferences
1) after getting the message about the system not being able to check the file for malware, open System Preferences, go to "Privacy and Security", and scroll down until you see a message saying that the system prevented you from opening that file. Click on the button to open it anyway 2) in the subsequent dialog box about it being unable to scan the file for malware, there will now be an additional "open" button 3) you'll get another, similar message afterwards when the package tries to run a script to detect whether the Xcode Command Line tools are installed. It failing to run will not block the rest of the installation though

Note that installing FPC will not result in anything appearing in the Applications folder. It only consists of command line tools. If you want a GUI interface to FPC, have a look at https://www.lazarus-ide.org/


Jonas


Jonas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to