When I try to compile I get this error:
ld: warning: object file (/Users/xxx/lazarus-components-cocoa64bit/VirtualTreeView-Lazarus-v5/Source/lib/x86_64-darwin-cocoa/fakemmsystem.o) was built for newer OSX version (10.13) than being linked (10.8 )
ld: warning: object file (/Users/xxx/lazarus-components-cocoa64bit/lclextensions-0/lib/x86_64-darwin-cocoa/delphicompat.o) was built for newer OSX version (10.13) than being linked (10.8 )
ld: malformed file
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib//libiconv.tbd:4:18: error: unknown enumerated scalar
platform: zippered
^~~~~~~~
file '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib//libiconv.tbd'
An error occurred while linking
MyApp.dpr(166,0) Error: Error while linking
MyApp.dpr(166,0) Verbose: There were 1 errors compiling module, stopping
Verbose: Compilation aborted
Verbose: /Users/xxx/lazaruscoc64bit/fpc/bin/x86_64-darwin/ppcx64 returned an error exitcode
I recall in another thread that this can safely be ignored for now since they are the same:
was built for newer OSX version (10.13) than being linked (10.8 )
(and it is something I am used to see as I use the
-WM10.8 in custom options)
However - I recently updated commanded line tools - and I think that is to blame for:
ld: malformed file
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib//libiconv.tbd:4:18: error: unknown enumerated scalar
platform: zippered
^~~~~~~~
file '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib//libiconv.tbd'
Any ideas on how to fix this somehow? Preferably maybe by renaming/bring back old command line tools? (if indeed I am right that is the reason) Or some setting somewhere?
I am on a fully updated Mojave 10.14.4