Recent

Author Topic: [SOLVED]How to solve : ld: framework not found: Cocoa error  (Read 399 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: 996
  • 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.
o Lazarus v2.1.0 r63871, FPC v3.3.1 r46876, macOS 10.14.6 (with sup update), Xcode 11.3.1
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.1 amd64 (VMware Fusion VM)
o FPC 3.0.4, FreeBSD 12.2-STABLE r365646 amd64
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 18.04 (Parallels VM)

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

 

TinyPortal © 2005-2018