The boilerplate code for a command line app on macOS straight of of the Projucer no longer compiles for me. I’m on macOS 10.13.5, Xcode 9.4, latest JUCE master.
When compiling, it appears to be throwing a linker error because the Projucer is telling it to link against “.framework
”, some sort of nameless variable.
Specifically, here is a dump of the full linker command causing the error. Again, this is on a fresh out of the box command line app from the Projucer.
Ld build/Debug/testcommand normal x86_64
cd /Users/jonathon/Projects/testcommand/Builds/MacOSX
export MACOSX_DEPLOYMENT_TARGET=10.11
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -L/Users/jonathon/Projects/testcommand/Builds/MacOSX/build/Debug -F/Users/jonathon/Projects/testcommand/Builds/MacOSX/build/Debug -filelist /Users/jonathon/Library/Developer/Xcode/DerivedData/testcommand-cjzanqoelsnoysfsvnghuvnffovt/Build/Intermediates.noindex/testcommand.build/Debug/testcommand\ -\ ConsoleApp.build/Objects-normal/x86_64/testcommand.LinkFileList -mmacosx-version-min=10.11 -Xlinker -object_path_lto -Xlinker /Users/jonathon/Library/Developer/Xcode/DerivedData/testcommand-cjzanqoelsnoysfsvnghuvnffovt/Build/Intermediates.noindex/testcommand.build/Debug/testcommand\ -\ ConsoleApp.build/Objects-normal/x86_64/testcommand_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -stdlib=libc++ -framework .framework -framework Accelerate -framework AudioToolbox -framework AVFoundation -framework AVKit -framework Carbon -framework Cocoa -framework CoreAudio -framework CoreMedia -framework CoreMIDI -framework IOKit -framework OpenGL -framework QuartzCore -framework WebKit -Xlinker -dependency_info -Xlinker /Users/jonathon/Library/Developer/Xcode/DerivedData/testcommand-cjzanqoelsnoysfsvnghuvnffovt/Build/Intermediates.noindex/testcommand.build/Debug/testcommand\ -\ ConsoleApp.build/Objects-normal/x86_64/testcommand_dependency_info.dat -o /Users/jonathon/Projects/testcommand/Builds/MacOSX/build/Debug/testcommand