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

前端 未结 8 1397
轮回少年
轮回少年 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 01:56

    Exactly the same problem, in my case, I tried to delete all the files in DerivedData folder, but still not work.

    And later I found that if I switch to another kind of simulator, for instance, switch from 'iPhone 8' to 'iPhone 8 plus', the warning would disappear.

    So, simply delete the 'iPhone 8' simulator from simulator list, and then add the 'iPhone 8' simulator again, it works.

    Not sure if the problem will come again, since it's also my third time dealing with this.

提交回复
热议问题