Lazarus

Installation => macOS / Mac OS X => Topic started by: BeanzMaster on July 28, 2020, 09:56:39 pm

Title: [SOLVED]How to solve : ld: framework not found: Cocoa error
Post by: BeanzMaster on July 28, 2020, 09:56:39 pm
Hi to all a friend of mine has installed latest Lazarus on his macos BIG without problems but when he want to compile a project he have
ld: framework not found: Cocoa

Anyone say how to solve it ?

Thanks in advance
Title: Re: How to solve : ld: framework not found: Cocoa error
Post by: trev on July 29, 2020, 03:23:38 am
Did he follow the  necessary steps (https://wiki.freepascal.org/Installing_Lazarus_on_macOS)? I'm guessing he did not install Xcode and/or the Xcode command line tools first.
Title: Re: How to solve : ld: framework not found: Cocoa error
Post by: BeanzMaster on July 29, 2020, 08:38:28 am
Yes he installed XCode 11.6 from the store but "sudo xcode-select --install" install "command line tool beta for xcode 12"  :o He'll try to install xcode and command line tool from ADC

Thanks
Title: Re: [SOLVED]How to solve : ld: framework not found: Cocoa error
Post by: BeanzMaster on July 30, 2020, 09:56:03 am
It's ok he uninstall all and redo installation, by following my instructions.

All is done.

Thanks
Title: Re: [SOLVED]How to solve : ld: framework not found: Cocoa error
Post by: circular on April 18, 2021, 11:24:40 am
Just an up to mention that after some system update, I had to update Xcode and run the command lines again to get it working.
TinyPortal © 2005-2018