swift – Xcode 9.3中的警告
发布时间:2020-12-14 05:28:27 所属栏目:百科 来源:网络整理
导读:当我在模拟器中运行我的应用程序时,我在 Xcode中收到此警告.我该怎么做才能摆脱它? objc[6529]: Class VCWeakObjectHolder is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulat
当我在模拟器中运行我的应用程序时,我在
Xcode中收到此警告.我该怎么做才能摆脱它?
objc[6529]: 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 (0x13490b4d0) 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 (0x133a37e38). One of the two will be used. Which one is undefined. 在Internet上找不到“Class VCWeakObjectHolder”的单一引用.它让我疯了……虽然这只是一个警告. 更新:Xcode 9.3.1和Xcode 9.4 beta都给出了相同的警告.
我有一个多月的警告.首先,我检查了两个路径,检查框架是否由于某种原因重复,但没有删除任何东西,然后我终于尝试了这个,它对我有用:
>重置模拟器(菜单:硬件 – >删除所有内容和设置……)>清理项目(Command Shift K)>清理构建文件夹(命令选项Shift K)>再次在模拟器上运行代码 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |