Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Installation
»
macOS / Mac OS X
»
[SOLVED]How to solve : ld: framework not found: Cocoa error
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Using Bresenham's line al...
by
TBMan
[
Today
at 01:42:13 am]
fpsSpreadsheet. Unable t...
by
jamie
[
Today
at 01:27:18 am]
[SOLVED] What is the name...
by
marcov
[
Today
at 01:05:31 am]
Lazarus on Mint - Palette...
by
TRon
[
Today
at 12:56:52 am]
Explaining Generics and S...
by
jamie
[
Today
at 12:45:19 am]
Where are the sources for...
by
flowCRANE
[
Today
at 12:38:54 am]
Online Package Manager
by
wp
[
Today
at 12:22:46 am]
Reading text out loud?
by
jamie
[
Today
at 12:02:05 am]
Speech from textbox
by
jamie
[March 22, 2025, 11:47:40 pm]
Подписи кнопок панели инс...
by
Miralok
[March 22, 2025, 11:33:50 pm]
How to delete from app il...
by
Boleeman
[March 22, 2025, 10:54:59 pm]
IDE tabs and spaces, auto...
by
OC DelGuy
[March 22, 2025, 09:51:53 pm]
Can't put Lazarus in dock
by
VTwin
[March 22, 2025, 08:33:23 pm]
TrayIcon doesn't work usi...
by
CM630
[March 22, 2025, 08:31:45 pm]
Uninstall
by
VTwin
[March 22, 2025, 08:09:22 pm]
How to wirte a drag into ...
by
d2010
[March 22, 2025, 07:12:18 pm]
I'm wondering, what kind ...
by
Joanna from IRC
[March 22, 2025, 06:54:00 pm]
Cannot set width and heig...
by
anse
[March 22, 2025, 06:38:12 pm]
I want to get rid of priv...
by
n7800
[March 22, 2025, 06:33:54 pm]
Tcsvdataset issue
by
Packs
[March 22, 2025, 04:09:35 pm]
How to search unitColorGr...
by
d2010
[March 22, 2025, 03:03:19 pm]
LZ4 decompressor in pure ...
by
marcov
[March 22, 2025, 02:56:48 pm]
Snappy decompressor in pu...
by
ALLIGATOR
[March 22, 2025, 02:40:20 pm]
NIL vs. Assign: when to u...
by
PascalDragon
[March 22, 2025, 02:38:45 pm]
Laz mupdf (SumatraPDF loa...
by
Boleeman
[March 22, 2025, 01:28:54 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED]How to solve : ld: framework not found: Cocoa error (Read 9115 times)
BeanzMaster
Sr. Member
Posts: 268
[SOLVED]How to solve : ld: framework not found: Cocoa error
«
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
«
Last Edit: July 30, 2020, 09:55:09 am by BeanzMaster
»
Logged
trev
Global Moderator
Hero Member
Posts: 2032
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.
Logged
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"
He'll try to install xcode and command line tool from ADC
Thanks
Logged
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
Logged
circular
Hero Member
Posts: 4391
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.
Logged
Conscience is the debugger of the mind
csukuangfj
New Member
Posts: 16
Re: [SOLVED]How to solve : ld: framework not found: Cocoa error
«
Reply #5 on:
August 14, 2024, 08:12:37 am »
I have fixed it by following
https://wiki.freepascal.org/Mac_Installation_FAQ
> tweak the /private/etc/fpc.cfg file, after installing the Xcode command line tools, by adding:
```
-Fl/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib
-XR/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
```
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Installation
»
macOS / Mac OS X
»
[SOLVED]How to solve : ld: framework not found: Cocoa error
TinyPortal
© 2005-2018