Class FIFinderSyncExtensionHost implemented twice

Originator:macmade
Number:rdar://32839314 Date Originated:June 18 2017, 4:38 PM
Status:Duplicate (31181115) Resolved:
Product:macOS + SDK Product Version:
Classification:Other bug Reproducible:Sometimes
 
Area:

Finder

--------------------------------------------------

Summary:

On some project, I get this warning in the Xcode console when presenting an open panel:

objc[80401]: Class FIFinderSyncExtensionHost is implemented in both /System/Library/PrivateFrameworks/FinderKit.framework/FinderKit (0x10d099200) and /System/Library/PrivateFrameworks/FileProvider.framework/OverrideBundles/FinderSyncCollaborationFileProviderOverride.bundle/Contents/MacOS/FinderSyncCollaborationFileProviderOverride (0x115309c00). One of the two will be used. Which one is undefined.

--------------------------------------------------

Steps to Reproduce:

I'm not really sure what triggers this warning, as it does not show when I try to reproduce the issue on an empty project.

Anyway, here's the open-panel code:

    NSOpenPanel * panel;
    
    panel = [ NSOpenPanel openPanel ];
    
    panel.canChooseFiles = NO;
    panel.canChooseDirectories = YES;
    panel.canCreateDirectories = YES;
    panel.canSelectHiddenExtension = YES;
    panel.showsHiddenFiles = NO;
    panel.treatsFilePackagesAsDirectories = NO;
    panel.allowsMultipleSelection = NO;
    
    [ panel beginSheetModalForWindow: self.view.window completionHandler: ^( NSInteger res )
        {
            ( void )res;
        }
    ];

Warning is shown after the call to beginSheetModalForWindow:completionHandler:

--------------------------------------------------

Expected Results:

Presenting an open-panel shouldn't trigger any warning.

--------------------------------------------------

Observed Results:

Warning about FIFinderSyncExtensionHost class is sometimes shown.

--------------------------------------------------

Version:

Xcode Version 9.0 beta (9M136h)
macOS Version 10.13 Beta (17A264c)

Comments

status?

did you ever get any feedback about this?

By matt.sephton at Sept. 28, 2017, 11:26 a.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!