100+ “Class implemented in both MapKit and VectorKit” warnings with Xcode 9.0.1 and above

前端 未结 8 1474
轮回少年
轮回少年 2021-02-01 01:51

While running my project (which doesn\'t even use MapKit), my console gets spammed with more than a hundred class duplicate warnings:

objc[63

8条回答
  •  忘了有多久
    2021-02-01 02:00

    I don't give a damn about accessibility in the simulator so I just renamed one of the duplicate files so it wouldn't be found:

    mv /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/AccessibilityBundles/MapKit.axbundle/MapKit /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/AccessibilityBundles/MapKit.axbundle/MapKit_
    

    lol

提交回复
热议问题