自从更新到 macOS High Sierra 以来,Xcode 中的“Class FIFinderSyncExtensionHost 都实现了……”警告
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/46999695/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
'Class FIFinderSyncExtensionHost is implemented in both ...' warning in Xcode since update to macOS High Sierra
提问by Jan Kaiser
I am getting the following warning in the Xcode console while running (not compiling) my application since updating to High Sierra on my MacBook:
自从在我的 MacBook 上更新到 High Sierra 以来,我在运行(不编译)我的应用程序时在 Xcode 控制台中收到以下警告:
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.
objc[26299]:FIFinderSyncExtensionHost 类在 /System/Library/PrivateFrameworks/FinderKit.framework/Versions/A/FinderKit (0x7fff88339a70) 和 /System/Library/PrivateFrameworks/FileProvider.framework/OverrideBundles/FinderProviderSyncCollaboration/FinderProviderSyncCollaboration MacOS/FinderSyncCollaborationFileProviderOverride (0x10cae0cd8)。将使用两者之一。哪个是不确定的。
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
我发现其他人在Github上收到此警告,以及在使用 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.
对我来说,问题的行为与 Github 上的讨论中描述的完全一样。它似乎不会产生任何与其直接相关的功能问题。就我而言,我想摆脱所有警告,因为自从我更新到 High Sierra 以来,我的应用程序遇到了问题。
I hope someone has found a way to tackle this warning by now.
我希望现在有人已经找到了解决这个警告的方法。
回答by Wevah
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.
注意:我不确定除了警告所说的内容之外还有什么其他描述。这只是意味着在两个模块中定义了同一个类。对于 Apple 产品,它们通常是相同的,因此使用哪个副本并不重要。