解决One of the two will be used. Which one is undefined.

  • 最近运行工程,在启动页卡死了报错,错误信息:
    Class ___MKPlaceBusinessInfoItemAccessibility_super is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/AccessibilityBundles/VectorKit.axbundle/VectorKit (0x12e22c7b0) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/AccessibilityBundles/MapKit.axbundle/MapKit (0x12e34cf00). One of the two will be used. Which one is undefined.
  • Class ___MKPlaceBusinessInfoItemAccessibility_super is implemented in both表示 VectorKit、MapKit同时调用了一个类,One of the two will be used. Which one is undefined其中一个定义不清, obj runtime运行时出错
  • 网上搜索解决方法都不太实用这个问题,重新安装Xcode也不管用,困扰了一整天
  • 由于VectorKit.axbundle是系统自带的不能动,索性删掉了MapKit.axbundle文件,一大困扰得到解决,特写此文以供参考

有大神知道此问题是如何形成的或者更好的解决方案请告知

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容