【发布时间】:2018-04-01 19:39:36
【问题描述】:
在运行我的项目(甚至不使用MapKit)时,我的控制台收到了超过一百个类重复警告的垃圾邮件:
objc[6377]:类 ___MKPlaceBusinessInfoItemAccessibility_super 在 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot 中实现/System/Library/AccessibilityBundles/MapKit.axbundle/MapKit (0x12f128f00) 和 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources /RuntimeRoot/System/Library/AccessibilityBundles/VectorKit.axbundle/VectorKit (0x12f2187b0)。将使用两者之一。哪一个是未定义的。
这些警告在 Xcode 9.0.0 中不存在,我只在 Xcode 9.0.1 及更高版本上遇到此问题。 p>
我知道这是一个错误,I found a radar 就是关于这个问题的。有没有办法在不影响其他 SDK 警告可见性的情况下消除这些警告?
【问题讨论】:
-
升级到 Xcode 9.0.2 导致这个问题对我来说消失了。