gpt4 book ai didi

swift - 对象 [89368] : Class VCWeakObjectHolder is implemented in both

转载 作者:行者123 更新时间:2023-11-28 05:57:15 25 4
gpt4 key购买 nike

我正在使用最新版本的 Swift(4.2) 和 Xcode(9.4.1) 开发一个 MapKit 项目。我现在正在使用 Pods(alamofire, alamofireImage),似乎无法克服这个错误:

objc[89368]: Class VCWeakObjectHolder is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/AVConference.framework/Frameworks/ViceroyTrace.framework/ViceroyTrace (0x12250f4d0) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/AVConference.framework/AVConference (0x12163be38). One of the two will be used. Which one is undefined.

我已经多次清理项目/构建并重置模拟器,但到目前为止运气不好。此外,我已经尝试查看整个苹果论坛和堆栈溢出,但到目前为止我还没有找到任何运气。如果有人对如何操作有任何建议,我们将不胜感激!

干杯!

最佳答案

尝试以下操作:

  • 删除模拟器内容和设置:在模拟器中,执行Hardware->Erase All Content and Settings

  • 清理项目(Command + Shift + K)

  • 清理构建文件夹(Command + Option + Shift + K)

尝试再次运行您的项目。

关于swift - 对象 [89368] : Class VCWeakObjectHolder is implemented in both,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51108572/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com