Displaying 2 results from an estimated 2 matches for "helloobjc".
2020 May 07
2
Ld64.lld cannot find Foundation framework
...allow calls to /usr/bin/clang.
The clang binary works fine to compile a file, but ld64.lld comes up with the error "cannot find framework".
However similar arguments using /usr/bin/ld instead of ld64.lld works fine.
Here are the details:
Here is the call using /usr/bin/ld:
/usr/bin/ld HelloObjC.o -o HelloObjC -v -sdk_version 10.14.0 -macosx_version_min 10.14.0 -demangle -lto_library /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libLTO.dylib -dynamic -arch x86_64 -framework Foundation -framework Cocoa -syslibroot /Applications/Xcode.app/Contents/De...
2020 May 07
2
Ld64.lld cannot find Foundation framework
...clang binary works fine to compile a file, but ld64.lld comes up with the error "cannot find framework".
> However similar arguments using /usr/bin/ld instead of ld64.lld works fine.
>
> Here are the details:
>
> Here is the call using /usr/bin/ld:
>
> /usr/bin/ld HelloObjC.o -o HelloObjC -v -sdk_version 10.14.0 -macosx_version_min 10.14.0 -demangle -lto_library /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libLTO.dylib -dynamic -arch x86_64 -framework Foundation -framework Cocoa -syslibroot /Applications/Xcode.app/Contents/De...