I mistakenly upgraded to Mojave a few weeks back, and cannot get a binary to execute. I had to downgrade Xcode to 9.4.1 for install to complete. However, upon compiling, I get several of these:
ld: warning: URGENT: building for OSX, but linking against dylib (/System/Library/Frameworks//Security.framework/Security) built for (unknown). Note: This will be an error in the future.
Running the compiled binary yields:
dyld: __dyld section not supported in /Users/ewthornton/swan/test/./swan.exe
Abort trap: 6
So I’m guessing the linked libraries are not compatible despite Xcode v 9?