Recent

Author Topic: [SOLVED]How to solve : ld: framework not found: Cocoa error  (Read 6597 times)

BeanzMaster

  • Sr. Member
  • ****
  • Posts: 268
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
« Last Edit: July 30, 2020, 09:55:09 am by BeanzMaster »

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2020
  • Former Delphi 1-7, 10.2 user
Re: How to solve : ld: framework not found: Cocoa error
« Reply #1 on: July 29, 2020, 03:23:38 am »
Did he follow the necessary steps? I'm guessing he did not install Xcode and/or the Xcode command line tools first.

BeanzMaster

  • Sr. Member
  • ****
  • Posts: 268
Re: How to solve : ld: framework not found: Cocoa error
« Reply #2 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

BeanzMaster

  • Sr. Member
  • ****
  • Posts: 268
Re: [SOLVED]How to solve : ld: framework not found: Cocoa error
« Reply #3 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

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: [SOLVED]How to solve : ld: framework not found: Cocoa error
« Reply #4 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.
Conscience is the debugger of the mind

 

TinyPortal © 2005-2018