Error When Opening File With File Chooser


#1

When trying to open a file with the File Chooser using the following code, I get this error message when working with xCode 9 on High Sierra. Any ideas as to what the problem is? I’ve inserted a breakpoint right after creating the fileChooser and it never hits the breakpoint.

FileChooser fileChooser ("Open Mapper",
                         File::nonexistent,
                         "*.mapper");

objc[14715]: Class FIFinderSyncExtensionHost is implemented in both /System/Library/PrivateFrameworks/FinderKit.framework/Versions/A/FinderKit (0x7fffb1caea70) and /System/Library/PrivateFrameworks/FileProvider.framework/OverrideBundles/FinderSyncCollaborationFileProviderOverride.bundle/Contents/MacOS/FinderSyncCollaborationFileProviderOverride (0x10f076cd8). One of the two will be used. Which one is undefined.
2017-10-31 09:51:02.826345+0000 My Programme[14715:997582] MessageTracer: load_domain_whitelist_search_tree:73: Search tree file's format version number (0) is not supported
2017-10-31 09:51:02.826380+0000 My Programme[14715:997582] MessageTracer: Falling back to default whitelist
2017-10-31 09:51:02.886452+0000 My Programme[14715:997595] errors encountered while discovering extensions: Error Domain=PlugInKit Code=13 "query cancelled" UserInfo={NSLocalizedDescription=query cancelled}

#2

Update, I get a few different messages appear in the console whilst using the FileChooser to save files, however saving appears to work fine.

JUCE v5.2.0
-NSDocumentRevisionsDebugMode YES
2017-10-31 12:42:30.901795+0000 My Programme[21418:1239979] errors encountered while discovering extensions: Error Domain=PlugInKit Code=13 "query cancelled" UserInfo={NSLocalizedDescription=query cancelled}
2017-10-31 12:42:30.902409+0000 My Programme[21418:1240051] MessageTracer: load_domain_whitelist_search_tree:73: Search tree file's format version number (0) is not supported
2017-10-31 12:42:30.902442+0000 My Programme[21418:1240051] MessageTracer: Falling back to default whitelist

#3

Well, if getting the file from the chooser and using the file works, it’s just some logging noise from OS-X?


#4

Opening the file did not seem to work previously. Seemed to break after updating to JUCE 5.2. Did a project clean in xCode and all seems to be back to normal now.