Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
810 views
in Technique[技术] by (71.8m points)

cocoa - 'Class FIFinderSyncExtensionHost is implemented in both ...' warning in Xcode since update to macOS High Sierra

I am getting the following warning in the Xcode console while running (not compiling) my application since updating to High Sierra on my MacBook:

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

I found the someone else getting this warning on Github, and someone who is getting it when working with Java: Java Exception since Mac OS High Sierra

To me the problem behaves exactly as described in the discussion on Github. It doesn't seem to produce any functional issues directly connected to it. In my case I would like to get rid of all warnings though because I am experiencing issues with my application since I updated to High Sierra.

I hope someone has found a way to tackle this warning by now.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

There's nothing you can do about this. It's an Apple problem, but it's probably harmless.

Note: I'm not sure what other description could be given than what the warning says. It just means that the same class is defined in two modules. With Apple stuff, they're often identical so it doesn't matter which copy is used.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...