Xcode - Apple Mach-O Linker (ld) & Solution


When I’m creating a new project [oF 0.11, macos 10.15.6 and xcode 11.6] with the projectGenerator, I get by default a “Apple Mach-O Linker (ld)” error.

I found that it can be resolved by going into Product / Managing Schemes and checking Address Sanitizer. Is this the normal behaviour, or am I missing something?

thank you,

Hey - this is something we are working on but there is a fix here:

I am assuming the linking error is related to fmodex.dylib?

Thank you for the reply.
Actually I don’t know, I just have a “ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)”, with a lot of

___asan_stack_malloc_ and ___asan_report_


I’m now having similar errors, only when selecting Relese scheme.
I’ve noticed a clean build in XCode was not enough so the fix was erasing the folder ofw/libs/openFrameworksCompiled/lib/osx to force everything to build again.