Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File and Directory warning on MacOS: "Class FIFinderSyncExtensionHost is implemented in both ..." #24

Open
ghost opened this issue Jan 23, 2019 · 5 comments
Labels
osx specific to the OSX implementation

Comments

@ghost
Copy link

ghost commented Jan 23, 2019

MacOS version. 10.14.2


func fileRead() {
	filename, err := dialog.File().Filter("pdf file", "pdf").Load()
	if err != nil {
		panic(err)
	}

	fmt.Println(filename)
	// now read from that file name ...
}

func directoryRead() {
	directory, err := dialog.Directory().Title("Load images").Browse()
	if err != nil {
		panic(err)
	}
	fmt.Println(directory)
}

Both work, but do get this error on the way through.

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

@ghost ghost changed the title File and Directory read both get same error on MacOS File and Directory error on MacOS: "Class FIFinderSyncExtensionHost is implemented in both ..." Jan 25, 2019
@ghost
Copy link
Author

ghost commented Jan 25, 2019

hey @sqweek ah thanks for checking. I bombed you with the issue without first checking.

I guess it will be sorted eventually by Apple with a OS Update. A New MacOS update hit yesterday, so am downloading and will try again.
Will leave open, so we can remember to check it later...

@nelsonvassalo
Copy link

Still reporting this as of today

@bensh
Copy link

bensh commented Jun 11, 2019

I found this thread because I got the same bug, but I got it in my own program written in Python, so seems to be a MacOS issue when you browse the local filesystem programatically.

https://stackoverflow.com/a/47013488/1291738

@sqweek sqweek added the osx specific to the OSX implementation label Sep 11, 2020
@sqweek sqweek changed the title File and Directory error on MacOS: "Class FIFinderSyncExtensionHost is implemented in both ..." File and Directory warning on MacOS: "Class FIFinderSyncExtensionHost is implemented in both ..." Sep 11, 2020
@designerfuzzi
Copy link

simple. When an NSSavePanel becomes modal it also has access to the Filesystem and has usually a Filetype given to be allowed or not allowed, so the Finder gets involved, means setting properly FileType UTI in info.plist should be done.
apart from that it is also a sign for messed up framework linking, and can even be silenced via
OTHER_LDFLAGS
-framework [Duplicated framework]

see https://stackoverflow.com/questions/46932341/class-is-implemented-in-both-one-of-the-two-will-be-used-which-one-is-undefine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
osx specific to the OSX implementation
Projects
None yet
Development

No branches or pull requests

4 participants