我在一个MapKit项目上工作,使用最新版本的Swift(4.2)和Xcode(9.4.1)。我现在正在处理Pods(alamofirealamofireImage),似乎无法通过此错误:
objc[89368]:VCWeakObjectHolder类在
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/privateframewrames/AVConference.framework/Frameworks/ViceroyTrace.framework/ViceroyTrace
(0x12250f4d0)和
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/privateframewrames/AVConference.framework/AVConference
(0x12163be38)。其中一个将被使用。哪一个是未定义的。
我已经清理了这个项目/构建好几次并重置了模拟器,但是到目前为止还没有成功。另外,我试着浏览了整个苹果论坛和堆栈溢出,但到目前为止我还没有任何运气。如果有人对该怎么做有建议,我将不胜感激!
干杯!

最佳答案

请尝试以下操作:
删除模拟器内容和设置:在模拟器中,执行硬件->删除所有内容和设置
清理项目(Command+Shift+K)
清除生成文件夹(Command+Option+Shift+K)
请尝试重新运行您的项目。

关于swift - objc [89368]:两者中均实现了VCWeakObjectHolder类,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/51108572/

10-14 16:18