For a while now, when Introjucer projects open in Xcode there’s an issue about validating project settings. The reason is that it wants to enable building for the active architecture only in debug builds. Introjucer does in fact enable this via ONLY_ACTIVE_ARCH, but does so at the target-level instead of at the project-level as Xcode would like.
To silence the issue, here is a patch that simply moves that variable up to the project-level:
Thanks for the fix! I also have one more suggestion with regard to that pesky QuickTime.framework linker warning about it being 32-bit only. What I’ve done in my Introjucer is to exclude the QuickTime framework if the JUCE_QUICKTIME flag has been disabled. That way, at least if I’m not using QuickTime I can avoid the warning by setting that flag to disabled. Not a perfect solution, but much cleaner than trying to do something conditional based off of the architecture.
Adding this in addFrameworks() does the trick for me:
mmm... weird... the code is there indeed and I re-compiled it jic, and set the JUCE_QUICKTIME flag to 0 (JUCE_QUICKTIME=0 in my app's Introjucer's preprocessor window) and still get the following message:
ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks//QuickTime.framework/QuickTime, file was built for i386 which is not the architecture being linked (x86_64): /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks//QuickTime.framework/QuickTime