xcode libsqlite3.tbd 和 libsqlite3.dylib 一样吗?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/33072498/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Is libsqlite3.tbd the same as libsqlite3.dylib?
提问by theFool
I was trying to import libsqlite3 in my project using Xcode7. What I found was libsqlite3.tbd with no icon instead it has a plain white file icon like .h and .m.
我试图使用 Xcode7 在我的项目中导入 libsqlite3。我发现的是 libsqlite3.tbd 没有图标,而是有一个纯白色的文件图标,如 .h 和 .m。
Is it the same with libsqlite3.dylib with icon?
和带有图标的 libsqlite3.dylib 一样吗?
回答by Raptor
In Xcode 7, it replaces the use of .dylib
with .tbd
. Just use the .tbd
.
在 Xcode 7 中,它取代了.dylib
with的使用.tbd
。只需使用.tbd
.
For those who are curious, the .tbd files are new "text-based stub libraries", that provide a much more compact version of the stub libraries for use in the SDK, and help significantly reduce its download size.
对于那些好奇的人来说,.tbd 文件是新的“基于文本的存根库”,它提供了一个更紧凑的存根库版本以供在 SDK 中使用,并有助于显着减少其下载大小。
Reference: https://forums.developer.apple.com/message/8609#8609