Forum > macOS / Mac OS X

[SOLVED]How to solve : ld: framework not found: Cocoa error

(1/2) > >>

BeanzMaster:
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

trev:
Did he follow the necessary steps? I'm guessing he did not install Xcode and/or the Xcode command line tools first.

BeanzMaster:
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:
It's ok he uninstall all and redo installation, by following my instructions.

All is done.

Thanks

circular:
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.

Navigation

[0] Message Index

[#] Next page

Go to full version