Recent

Author Topic: Error: -macosx_version_min has been renamed to -macos_version_min  (Read 11256 times)

AnthonyTekatch

  • Jr. Member
  • **
  • Posts: 88
Re: Error: -macosx_version_min has been renamed to -macos_version_min
« Reply #15 on: January 30, 2025, 09:58:35 pm »
edit fpc.cfg to include
Code: [Select]
-XR/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/

I have that in fpc.cfg :
Code: [Select]
-XR/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk

But, I am still getting the error when building Lazarus Normal IDE:
Code: [Select]
Error: -macosx_version_min has been renamed to -macos_version_minand am unable to "Build Lazarus"

I am trying to install Lazarus 3.8 from the official "Lazarus IDE file area.": https://sourceforge.net/projects/lazarus/files/Lazarus%20macOS%20x86-64/Lazarus%203.8/

My computer is running macOS Sequoia 15.3

And, xcode-select: note: Command line tools are already installed.

AnthonyTekatch

  • Jr. Member
  • **
  • Posts: 88
Re: Error: -macosx_version_min has been renamed to -macos_version_min
« Reply #16 on: January 31, 2025, 12:52:46 pm »
Semi-solution:
That error does not prevent compiling as mentioned earlier in this thread.
The compiled lazarus must be copied to:
 lazarus.app/Contents/Resources/startlazarus.app/Contents/MacOS
Then "open startlazarus.app" from "lazarus.app/Contents/Resources"
or something to that effect.
« Last Edit: January 31, 2025, 01:01:00 pm by AnthonyTekatch »

rich2014

  • New Member
  • *
  • Posts: 18
Re: Error: -macosx_version_min has been renamed to -macos_version_min
« Reply #17 on: February 15, 2025, 04:24:56 pm »
hi, pascalmustdie

if the version of Xcode is >=15.0, you need the latest FPC (fpc Main Trunk).

FPC was just updated three months ago to improve compatibility with XCode 15+.

https://gitlab.com/freepascal.org/fpc/source/-/commit/fd83bb10d4b3c1bc30cf3a72cd419882b63b561a

 

TinyPortal © 2005-2018