NSOpenPanel doesn't display iTunes Media

iTunes and OS X were updated on May 16, Garage Band on May 19. One or more of these updates silently changed the behaviour of what the file open dialog (NSOpenPanel) displays.


When selecting “Music” in the sidebar below the “Media” item header, nothing is displayed, the view above the file selection view only displays “GarageBand”, not “iTunes” as it used to do.


The console spits out the info below:


31/05/16 08:57:47,714 My Application[570]: Preflight for plugin com.apple.iLMBiTunesPlugin failed, so it will not load. Error Domain=NSCocoaErrorDomain Code=3587 "dlopen_preflight(/Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBiTunesPlugin.ilmbplugin/Contents/MacOS/iLMBiTunesPlugin): Library not loaded: /Library/Frameworks/iTunesLibrary.framework/Versions/A/iTunesLibrary

Referenced from: /Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBiTunesPlugin.ilmbplugin/Contents/MacOS/iLMBiTunesPlugin

Reason: no suitable image found. Did find:

/Library/Frameworks/iTunesLibrary.framework/Versions/A/iTunesLibrary: mach-o, but wrong architecture

/Library/Frameworks/iTunesLibrary.framework/Versions/A/iTunesLibrary: mach-o, but wrong architecture" UserInfo={NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBiTunesPlugin.ilmbplugin/Contents/MacOS/iLMBiTunesPlugin, NSLocalizedFailureReason=The bundle is damaged or missing necessary resources., NSLocalizedDescription=The bundle “iLMBiTunesPlugin” couldn’t be loaded because it is damaged or missing necessary resources., NSDebugDescription=dlopen_preflight(/Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBiTunesPlugin.ilmbplugin/Contents/MacOS/iLMBiTunesPlugin): Library not loaded: /Library/Frameworks/iTunesLibrary.framework/Versions/A/iTunesLibrary

Referenced from: /Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBiTunesPlugin.ilmbplugin/Contents/MacOS/iLMBiTunesPlugin

Reason: no suitable image found. Did find:

/Library/Frameworks/iTunesLibrary.framework/Versions/A/iTunesLibrary: mach-o, but wrong architecture

/Library/Frameworks/iTunesLibrary.framework/Versions/A/iTunesLibrary: mach-o, but wrong architecture, NSBundlePath=/Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBiTunesPlugin.ilmbplugin}



The messages states:

Reason: no suitable image found. Did find:mach-o, but wrong architecture.

My app is a regular 64-bit Cocoa app which is not sandboxed and my iMac is a brand new 64-bit Mac, so that message obviously doesn’t tell the truth.



However, when the app is sandboxed everything works as expected.


Is this a bug or an intentional change in the behaviour of NSOpenPanel for apps that are not sandboxed?

NSOpenPanel doesn't display iTunes Media
 
 
Q