Forum > macOS / Mac OS X

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

<< < (2/2)

csukuangfj:
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
```

Navigation

[0] Message Index

[*] Previous page

Go to full version