且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

安全地解决 dylib 警告?

更新时间:2022-05-28 01:37:50

我也有这两个文件,但没有这样的警告.

I have both files too and no such warning.

从您链接的答案中,我会说这意味着您应该检查您的项目并删除对那里文件的重复引用.

And from the answer you've linked I would say this means you should check your project and delete the duplicate reference to the file there.

当您删除物理文件时,您的duplicate dylib"警告很可能会变成file not found"错误.

When you delete the physical file most likely your "duplicate dylib" warning will turn into a "file not found" error.

作为一般规则:当您必须更改 /Developer 中的某些内容或在您的用户目录之外进行更改时,您很可能做错了.

As a general rule: when you have to change something in /Developer or lets say outside of your user directory there is a high chance that you are doing something wrong.

总结:不,从 SDK 中删除任意文件是不安全的.

Summary: No, it's not safe to delete arbitrary files from the SDK.